mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
correctly using the expected/actual assert arguments
This commit is contained in:
@ -12,7 +12,7 @@ suite('Extension Test Suite', () => {
|
||||
});
|
||||
|
||||
test('Sample test', () => {
|
||||
assert.equal(-1, [1, 2, 3].indexOf(5));
|
||||
assert.equal(-1, [1, 2, 3].indexOf(0));
|
||||
assert.equal([1, 2, 3].indexOf(5), -1);
|
||||
assert.equal([1, 2, 3].indexOf(0), -1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user