diff --git a/README.md b/README.md index 4c1a36ec..f4a2f22d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_client -[![pub 1.0.0-dev+21](https://img.shields.io/badge/pub-1.0.0--dev+21-red.svg)](https://pub.dartlang.org/packages/angel_client) +[![pub 1.0.0-dev+22](https://img.shields.io/badge/pub-1.0.0--dev+22-red.svg)](https://pub.dartlang.org/packages/angel_client) ![build status](https://travis-ci.org/angel-dart/client.svg) Client library for the Angel framework. diff --git a/pubspec.yaml b/pubspec.yaml index 8669f398..23f2c06e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_client -version: 1.0.0-dev+21 +version: 1.0.0-dev+22 description: Client library for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_client diff --git a/test/io_test.dart b/test/io_test.dart index 0ec00888..b379ae4e 100644 --- a/test/io_test.dart +++ b/test/io_test.dart @@ -39,7 +39,7 @@ main() { test("index", () async { Postcard niagaraFalls = await serverPostcards.create( new Postcard(location: "Niagara Falls", message: "Missing you!")); - print('Niagra Falls: ${niagaraFalls.toJson()}'); + print('Niagara Falls: ${niagaraFalls.toJson()}'); List indexed = await clientPostcards.index(); print(indexed); @@ -53,7 +53,7 @@ main() { Postcard louvre = await serverPostcards.create(new Postcard( location: "The Louvre", message: "The Mona Lisa was watching me!")); print(god.serialize(louvre)); - List typedIndexed = await clientTypedPostcards.index(); + List typedIndexed = await clientTypedPostcards.index(); expect(typedIndexed.length, equals(2)); expect(typedIndexed[1], equals(louvre)); }, @@ -92,7 +92,8 @@ main() { }); test("modify/update", () async { - server.MemoryService innerPostcards = serverPostcards.inner; + var innerPostcards = + serverPostcards.inner as server.MemoryService; print(innerPostcards.items); Postcard mecca = await clientTypedPostcards .create(new Postcard(location: "Mecca", message: "Pilgrimage"));