Style tweak.
diff --git a/test/canonicalized_map_test.dart b/test/canonicalized_map_test.dart
index 1bfeb2b..33e663f 100644
--- a/test/canonicalized_map_test.dart
+++ b/test/canonicalized_map_test.dart
@@ -23,9 +23,7 @@
     });
 
     test("set affects nothing for uncanonicalizable key", () {
-      expect(() {
-        map["foo"] = "value";
-      }, returnsNormally);
+      map["foo"] = "value";
       expect(map["foo"], isNull);
       expect(map.containsKey("foo"), isFalse);
       expect(map.length, equals(0));