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

Commit

Permalink
Merge pull request #7 from dart-lang/dart2-fix
Browse files Browse the repository at this point in the history
Fix a Dart 2 runtime error in a test
  • Loading branch information
keertip authored May 30, 2018
2 parents 83b690b + 96c1c71 commit 958b540
Showing 1 changed file with 6 additions and 3 deletions.
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

0 comments on commit 958b540

Please sign in to comment.