No optional new yet (#147)

diff --git a/test/invocation_matcher_test.dart b/test/invocation_matcher_test.dart
index 32693e5..b9d4f8d 100644
--- a/test/invocation_matcher_test.dart
+++ b/test/invocation_matcher_test.dart
@@ -84,7 +84,7 @@
         call1,
         isInvocation(call3),
         // RegExp needed because of https://github.com/dart-lang/sdk/issues/33565
-        RegExp('Expected: set value=? <true> '
+        new RegExp('Expected: set value=? <true> '
             "Actual: <Instance of '${call3.runtimeType}'> "
             'Which: Does not match get value'),
       );
@@ -102,7 +102,7 @@
         call1,
         isInvocation(call3),
         // RegExp needed because of https://github.com/dart-lang/sdk/issues/33565
-        RegExp("Expected: set value=? <false> "
+        new RegExp("Expected: set value=? <false> "
             "Actual: <Instance of '${call3.runtimeType}'> "
             "Which: Does not match set value=? <true>"),
       );
diff --git a/test/verify_test.dart b/test/verify_test.dart
index d7c472e..aff8268 100644
--- a/test/verify_test.dart
+++ b/test/verify_test.dart
@@ -191,7 +191,8 @@
       final expectedMessage = RegExp.escape('No matching calls. '
           'All calls: _MockedClass.setter==A\n$noMatchingCallsFooter');
       // RegExp needed because of https://github.com/dart-lang/sdk/issues/33565
-      var expectedPattern = RegExp(expectedMessage.replaceFirst('==', '=?='));
+      var expectedPattern =
+          new RegExp(expectedMessage.replaceFirst('==', '=?='));
 
       expectFail(expectedPattern, () => verify(mock.setter = 'B'));
       verify(mock.setter = 'A');
@@ -212,7 +213,7 @@
         verify(mock.methodWithNamedArgs(42, y: 17));
         fail('verify call was expected to throw!');
       } catch (e) {
-        expect(e, TypeMatcher<StateError>());
+        expect(e, new TypeMatcher<StateError>());
         expect(
             e.message,
             contains('Verification appears to be in progress. '