Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: LayoutTests/crypto/clone-rsaKey-public.html

Issue 268653004: [refactor] Replace shouldBeTrue("a != b") with shouldNotBe("a", "b") in existing crypto tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/clone-rsaKey-public.html
diff --git a/LayoutTests/crypto/clone-rsaKey-public.html b/LayoutTests/crypto/clone-rsaKey-public.html
index 14855416965ea5248c78cc2ca8d7d57c0e3d9506..1ba43351f9eaa6aef5080a2dc408de9551a26a4c 100644
--- a/LayoutTests/crypto/clone-rsaKey-public.html
+++ b/LayoutTests/crypto/clone-rsaKey-public.html
@@ -57,7 +57,7 @@ function runTest(algorithmName, extractable, keyUsages, keyData)
shouldBeUndefined("importedKey.algorithm.hash");
shouldEvaluateAs("importedKey.usages.join(',')", keyUsages.join(","));
- shouldBeTrue("importedKey != clonedKey");
+ shouldNotBe("importedKey", "clonedKey");
shouldBeUndefined("clonedKey.extraProperty");
shouldEvaluateAs("clonedKey.type", "public");
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-private-expected.txt ('k') | LayoutTests/crypto/clone-rsaKey-public-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698