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

Unified Diff: LayoutTests/crypto/clone-hmacKey.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
« no previous file with comments | « LayoutTests/crypto/clone-aesKey-expected.txt ('k') | LayoutTests/crypto/clone-hmacKey-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/clone-hmacKey.html
diff --git a/LayoutTests/crypto/clone-hmacKey.html b/LayoutTests/crypto/clone-hmacKey.html
index ac26367496a6d591ed4362ba7326f2d8ce39b31f..0c6b77d3a616384249108e92ddc15d1542b8812c 100644
--- a/LayoutTests/crypto/clone-hmacKey.html
+++ b/LayoutTests/crypto/clone-hmacKey.html
@@ -57,7 +57,7 @@ function runTest(hashName, extractable, keyUsages, keyData)
shouldEvaluateAs("importedKey.algorithm.hash.name", hashName);
shouldEvaluateAs("importedKey.usages.join(',')", keyUsages.join(","));
- shouldBeTrue("importedKey != clonedKey");
+ shouldNotBe("importedKey", "clonedKey");
shouldBeUndefined("clonedKey.extraProperty");
shouldEvaluateAs("clonedKey.type", "secret");
« no previous file with comments | « LayoutTests/crypto/clone-aesKey-expected.txt ('k') | LayoutTests/crypto/clone-hmacKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698