From 7a3fdf3681f86b45b0a71839f993fe62cb0d3227 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 25 Aug 2018 16:43:47 +0200 Subject: [PATCH] Fix Engine Test case --- test/src/engine_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", () {