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

Unified Diff: LayoutTests/fast/encoding/api/encoding-labels.html

Issue 599403002: Make encoding-labels test easier to debug (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: line break change Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/encoding/api/encoding-labels.html
diff --git a/LayoutTests/fast/encoding/api/encoding-labels.html b/LayoutTests/fast/encoding/api/encoding-labels.html
index c20b99b92bb9a38ab0e6b22e38325a5a32d53b50..653aa8847595a50295d2aa494996c1eef4d0c40f 100644
--- a/LayoutTests/fast/encoding/api/encoding-labels.html
+++ b/LayoutTests/fast/encoding/api/encoding-labels.html
@@ -10,11 +10,11 @@ encodings_table.forEach(function(section) {
return encoding.name !== 'replacement';
}).forEach(function(encoding) {
var name = encoding.name;
- test(function(){
- encoding.labels.forEach(function(label) {
+ encoding.labels.forEach(function(label) {
+ test(function(){
assert_equals(new TextDecoder(label).encoding, encoding.name);
- });
- }, 'Labels for: ' + name);
+ }, 'name=' + name + ' label=' + label);
+ });
});
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698