Fix Engine Test case

This commit is contained in:
Marty Oehme 2018-08-25 16:43:47 +02:00
parent 952179eee3
commit 7a3fdf3681
1 changed files with 2 additions and 2 deletions

View File

@ -17,12 +17,12 @@ void main() {
test("Engine does not throw errors when calling render directly", () {
// anonymous function necessary since throws can not use functions with args
expect(() => sut.render(), isNot(throwsNoSuchMethodError));
expect(() => sut.render, isNot(throwsNoSuchMethodError));
});
test("Engine does not throw errors when processing without attached canvas", () {
// anonymous function necessary since throws can not use functions with args
expect(() => sut.process(1000), isNot(throwsNoSuchMethodError));
expect(() => sut.process, isNot(throwsNoSuchMethodError));
});
test("setCanvas allows setting a canvas for an engine at any point", () {