Skip to content

Commit 4d960c9

Browse files
committed
fmt
1 parent 75f4a33 commit 4d960c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test341.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ describe('Test 341 Intellectual DOT operator', function () {
4040
// SET returns the number of rows affected (1 for variable assignment)
4141
var res = alasql('SET @a = "who".length');
4242
assert.deepEqual(res, 1);
43-
43+
4444
// Verify the variable @a was set to the correct value (length of "who" = 3)
4545
assert.deepEqual(alasql.vars.a, 3);
46-
46+
4747
// Verify we can use the variable in subsequent queries
4848
var res2 = alasql('SELECT @a AS result');
4949
assert.deepEqual(res2, [{result: 3}]);
@@ -66,21 +66,21 @@ describe('Test 341 Intellectual DOT operator', function () {
6666
// Create a table named "item" with a column named "item"
6767
alasql('CREATE TABLE item (id INT, item STRING)');
6868
alasql('INSERT INTO item VALUES (1, "Alpha"), (2, "Beta")');
69-
69+
7070
// Test 1: table.column access (item.item should get the column value)
7171
var res1 = alasql('SELECT item.item FROM item');
7272
assert.deepEqual(res1, [{item: 'Alpha'}, {item: 'Beta'}]);
73-
73+
7474
// Test 2: table.column.property access (item.item.length should get the length)
7575
var res2 = alasql('SELECT COLUMN item.item.length FROM item');
7676
assert.deepEqual(res2, [5, 4]);
77-
77+
7878
// Test 3: When only one column exists with unique name, property access works
7979
alasql('CREATE TABLE products (title STRING)');
8080
alasql('INSERT INTO products VALUES ("Product"), ("Item")');
8181
var res3 = alasql('SELECT COLUMN title.length FROM products');
8282
assert.deepEqual(res3, [7, 4]);
83-
83+
8484
alasql('DROP TABLE item');
8585
alasql('DROP TABLE products');
8686
done();

0 commit comments

Comments
 (0)