From 951e4cccbb254efffdbb271c73e89aef9a066361 Mon Sep 17 00:00:00 2001 From: Marc Fisher II Date: Fri, 1 May 2015 13:47:48 -0700 Subject: [PATCH] Fix expect implementation. --- lib/async_helpers.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/async_helpers.dart b/lib/async_helpers.dart index b0d7609c..8b1d3117 100644 --- a/lib/async_helpers.dart +++ b/lib/async_helpers.dart @@ -67,7 +67,7 @@ class Clock { ..add('\n'); var mismatchDescription = new StringDescription(); - matcher.describeMismatch(value, mismatchDescription, matchState); + matcher.describeMismatch(value, mismatchDescription, matchState, true); if (mismatchDescription.length > 0) { desc.add(' Which: ${mismatchDescription}\n'); } diff --git a/pubspec.yaml b/pubspec.yaml index 903413d9..fd8dba8f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: webdriver -version: 0.10.0-pre.6 +version: 0.10.0-pre.7 author: Marc Fisher II description: > Provides WebDriver bindings for Dart. These use the WebDriver JSON interface,