16 lines
252 B
Plaintext
16 lines
252 B
Plaintext
|
my_table = table |text number bool| [
|
||
|
["a", 1, true]
|
||
|
["b", 2, true]
|
||
|
["a", 3, true]
|
||
|
]
|
||
|
|
||
|
test_table = table |text bool| [
|
||
|
["a", true]
|
||
|
["b", true]
|
||
|
["a", true]
|
||
|
]
|
||
|
|
||
|
test_select = select |text bool| from my_table;
|
||
|
|
||
|
(assert_equal test_select, test_table)
|