Skip to content

Commit

Permalink
Avoid putting device-dependent string in test names.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio authored and gsnedders committed May 6, 2021
1 parent 6cc1a43 commit 17bf9de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions css/mediaqueries/test_media_queries.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@

function should_apply(q) {
test(function() {
assert_true(query_applies(q));
}, "subtest_" + ++testNum + ": " + q + " should apply");
assert_true(query_applies(q), q + " should apply");
}, "subtest_" + ++testNum);
}

function should_not_apply(q) {
test(function() {
assert_false(query_applies(q));
}, "subtest_" + ++testNum + ": " + q + " should not apply");
assert_false(query_applies(q), q + " should not apply");
}, "subtest_" + ++testNum);
}

/*
Expand Down

0 comments on commit 17bf9de

Please sign in to comment.