main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
356 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | var test = require('tape');
|
---|
| 4 |
|
---|
| 5 | var E = require('../');
|
---|
| 6 | var R = require('../range');
|
---|
| 7 | var Ref = require('../ref');
|
---|
| 8 | var S = require('../syntax');
|
---|
| 9 | var T = require('../type');
|
---|
| 10 |
|
---|
| 11 | test('errors', function (t) {
|
---|
| 12 | t.equal(E, Error);
|
---|
| 13 | t.equal(R, RangeError);
|
---|
| 14 | t.equal(Ref, ReferenceError);
|
---|
| 15 | t.equal(S, SyntaxError);
|
---|
| 16 | t.equal(T, TypeError);
|
---|
| 17 |
|
---|
| 18 | t.end();
|
---|
| 19 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.