-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
308 changed files
with
10,609 additions
and
2,306 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ compliance | |
*settings.json | ||
apps/test-tokenizer/src/test-maker/cache/cache.json | ||
.angular | ||
|
||
/.nx/cache |
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 |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
"bubbleanimation", | ||
"defint", | ||
"Deref", | ||
"didnt", | ||
"Doesnt", | ||
"dont", | ||
"ENVI", | ||
|
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
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
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,30 @@ | ||
import { CleanIDLOutput } from '@idl/idl'; | ||
import { IDL_COMMANDS } from '@idl/shared'; | ||
import expect from 'expect'; | ||
import * as vscode from 'vscode'; | ||
|
||
import { RunnerFunction } from '../runner.interface'; | ||
|
||
/** | ||
* Verifies that simple statements that should be executed as implied print are | ||
* indeed interpreted like that | ||
*/ | ||
export const ImpliedPrint: RunnerFunction = async (init) => { | ||
/** | ||
* Start IDL | ||
*/ | ||
const started = await vscode.commands.executeCommand( | ||
IDL_COMMANDS.DEBUG.START | ||
); | ||
|
||
// verify we started | ||
expect(started).toBeTruthy(); | ||
|
||
// compile file | ||
const res = CleanIDLOutput( | ||
await init.debug.adapter.evaluate(`!version`, { echo: true }) | ||
).toLowerCase(); | ||
|
||
// make sure we compile | ||
expect(res.includes('attempt to call undefined procedure')).toBeFalsy(); | ||
}; |
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
Oops, something went wrong.