Skip to content

Commit

Permalink
Fix spec paths in test HTML files
Browse files Browse the repository at this point in the history
* Finish the work started at 9bd9389
* Add mention that error (introduced in e12ff8f) is expected.
  • Loading branch information
eugenet8k authored and ScottFreeCode committed Dec 6, 2017
1 parent f26643b commit b954f69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/browser/array.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Array', function () {

describe('Array', function () {
describe('#pop()', function () {
it('should remove and return the last value', function () {
it('should remove and return the last value with expected error', function () {
var arr = [1, 2, 3];
assert(arr.pop() === 3);
assert(arr.pop() === 2);
Expand Down
4 changes: 2 additions & 2 deletions test/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}
</script>
<script src="array.spec.js"></script>
<script src="../acceptance/duration.spec.js"></script>
<script src="../acceptance/timeout.spec.js"></script>
<script src="../unit/duration.spec.js"></script>
<script src="../unit/timeout.spec.js"></script>
<script src="multiple-done.spec.js"></script>
<script>
onload = function(){
Expand Down
2 changes: 1 addition & 1 deletion test/browser/large.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if (!expr) throw new Error(msg || 'failed');
}
</script>
<script src="large.js"></script>
<script src="large.spec.js"></script>
<script>
onload = function(){
mocha.run();
Expand Down

0 comments on commit b954f69

Please sign in to comment.