@@ -3,7 +3,6 @@ import Standard.Base.Errors.Empty_Error.Empty_Error
3
3
import Standard.Base.Errors.Common.Index_Out_Of_Bounds
4
4
import Standard.Base.Errors.Common.Not_Found
5
5
import Standard.Base.Errors.Common.Type_Error
6
- import Standard.Base.Errors.Common.Unsupported_Argument_Types
7
6
import Standard.Base.Runtime.State
8
7
9
8
from Standard.Test import all
@@ -169,7 +168,7 @@ add_specs suite_builder = suite_builder.group "List" group_builder->
169
168
txt.filter (..Less than="a") . should_equal List.Nil
170
169
txt.filter (..Greater than="b") . should_equal ["bbb", "cccc", "baaa", "ś"].to_list
171
170
txt.filter (..Between "b" "c") . should_equal ["bbb", "baaa"].to_list
172
- Test.expect_panic_with (txt.filter (..Starts_With 42)) Unsupported_Argument_Types
171
+ Test.expect_panic Type_Error (txt.filter (..Starts_With 42))
173
172
174
173
["", Nothing, " ", "a"].to_list.filter (..Is_Empty) . should_equal ["", Nothing].to_list
175
174
["", Nothing, " ", "a"].to_list.filter (..Not_Empty) . should_equal [" ", "a"].to_list
@@ -293,4 +292,3 @@ main filter=Nothing =
293
292
suite = Test.build suite_builder->
294
293
add_specs suite_builder
295
294
suite.run_with_filter filter
296
-
0 commit comments