tests: Fix accidental uses of assert() -> assert.equal().

This commit is contained in:
Rohitt Vashishtha
2019-02-15 22:38:59 +00:00
committed by Tim Abbott
parent 92658d2ac9
commit 5c2e64d6a2
7 changed files with 12 additions and 12 deletions

View File

@@ -530,7 +530,7 @@ run_test('python_to_js_filter', () => {
actual_value = marked.InlineLexer.rules.zulip.realm_filters;
expected_value = [];
assert.deepEqual(actual_value, expected_value);
assert(blueslip.get_test_logs('error').length, 1);
assert.equal(blueslip.get_test_logs('error').length, 1);
blueslip.clear_test_data();
});
@@ -539,7 +539,7 @@ run_test('katex_throws_unexpected_exceptions', () => {
blueslip.set_test_data('error', 'Error: some-exception');
var message = { raw_content: '$$a$$' };
markdown.apply_markdown(message);
assert(blueslip.get_test_logs('error').length, 1);
assert.equal(blueslip.get_test_logs('error').length, 1);
blueslip.clear_test_data();
});