diff --git a/test/src/engine_test.dart b/test/src/engine_test.dart index 0712ba8..43ea13e 100644 --- a/test/src/engine_test.dart +++ b/test/src/engine_test.dart @@ -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", () {