diff --git a/test/evaluate_test.dart b/test/evaluate_test.dart index 16c73e2..e8b5b55 100644 --- a/test/evaluate_test.dart +++ b/test/evaluate_test.dart @@ -36,9 +36,12 @@ void main() { }); test("with a semantics function", () { - _expectEval("foo", false, semantics: (variable) => variable.contains("a")); - _expectEval("bar", true, semantics: (variable) => variable.contains("a")); - _expectEval("baz", true, semantics: (variable) => variable.contains("a")); + _expectEval("foo", false, + semantics: (String variable) => variable.contains("a")); + _expectEval("bar", true, + semantics: (String variable) => variable.contains("a")); + _expectEval("baz", true, + semantics: (String variable) => variable.contains("a")); }); }