mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
tests: Fix accidental uses of assert() -> assert.equal().
This commit is contained in:
committed by
Tim Abbott
parent
92658d2ac9
commit
5c2e64d6a2
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user