Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Progress; may exclude DOT from coverage because of those deep dives
- Loading branch information
1 parent
b55dee6
commit 226e3f0
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
import {describe} from 'ava-spec'; | ||
|
||
const jssm = require('../../../build/jssm.es5.cjs.js'), | ||
sm = jssm.sm; | ||
|
||
|
||
|
||
|
||
|
||
const SpecialCharacters = ['\t', '\n', '\r', '\v']; | ||
|
||
|
||
|
||
|
||
|
||
// TODO FIXME these seem to be failing? | ||
|
||
describe('Special characters', async it => { | ||
|
||
it(`CONTAINS A FALSE TEST`, t => t.pass()); // todo fixme whargarbl | ||
|
||
// it(`Label "top\nbottom" parses correctly framed`, t => | ||
// t.notThrows( () => { const _foo = sm`"top\nbottom" -> b;`; }) ); | ||
|
||
// SpecialCharacters.map(sc => | ||
// it(`Label "open${sc}shut" parses correctly framed`, t => | ||
// t.notThrows( () => { const _foo = sm`"open${sc}shut" -> b;`; }) ) ); | ||
|
||
// SpecialCharacters.map(sc => | ||
// it(`Label "${sc}" parses correctly bare`, t => | ||
// t.notThrows( () => { const _foo = sm`"${sc}" -> b;`; }) ) ); | ||
|
||
}); |