diff --git a/test/Table_Tests/src/Common_Table_Operations/Integration_Tests.enso b/test/Table_Tests/src/Common_Table_Operations/Integration_Tests.enso index 1a638d713364..134381fc9433 100644 --- a/test/Table_Tests/src/Common_Table_Operations/Integration_Tests.enso +++ b/test/Table_Tests/src/Common_Table_Operations/Integration_Tests.enso @@ -224,3 +224,10 @@ add_specs suite_builder setup = Test.with_clue "t3[C].value_type="+vt.to_display_text+": " <| vt.should_be_a (Value_Type.Char ...) vt.variable_length.should_be_true + + # Literal tables only make sense in the DB. + if setup.is_database then group_builder.specify "iif should work with literal tables" <| + literal_table = setup.light_table_builder [["X", [True, False, Nothing]], ["row_id", [1, 2, 3]]] . sort "row_id" + literal_table.at "X" . value_type . should_equal Value_Type.Boolean + c = literal_table.at "X" . iif 10 20 + c.to_vector . should_equal [10, 20, Nothing]