Skip to content

Commit 7a8b980

Browse files
authored
[cloud_firestore_web] Remove unit test that was only testing dart-lang. (firebase#1992)
Fixes firebase#1991
1 parent 424b5d0 commit 7a8b980

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

packages/cloud_firestore/cloud_firestore_web/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.0+3
2+
3+
- Removed unit test that was only testing dart-lang behavior.
4+
15
## 0.1.0+2
26

37
- Update documentation about this package being the endorsed platform for web.

packages/cloud_firestore/cloud_firestore_web/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: cloud_firestore_web
22
description: The web implementation of cloud_firestore
33
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/cloud_firestore/cloud_firestore_web
4-
version: 0.1.0+2
4+
version: 0.1.0+3
55

66
flutter:
77
plugin:

packages/cloud_firestore/cloud_firestore_web/test/field_value_factory_web_test.dart

-9
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ void main() {
3535
expect(actualDouble.data, isInstanceOf<web.FieldValue>());
3636
});
3737

38-
test(
39-
"increment throws when attempting to increment something that is not a number",
40-
() {
41-
expect(() {
42-
dynamic malformed = "nope";
43-
factory.increment(malformed);
44-
}, throwsA(isA<TypeError>()));
45-
});
46-
4738
test("serverTimestamp", () {
4839
final FieldValueWeb actual = factory.serverTimestamp();
4940
expect(actual.data, isInstanceOf<web.FieldValue>());

0 commit comments

Comments
 (0)