Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Fix a Dart 2 runtime error in a test #7

Merged
merged 1 commit into from
May 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions test/evaluate_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
});
}

Expand Down