Fix broken intergen test because of header
This commit is contained in:
parent
dcc5b52725
commit
9cf305e71a
@ -22,7 +22,9 @@ describe('intergen', () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function start(input: string) {
|
function start(input: string) {
|
||||||
return intergen('intergen', '-i', input)
|
const result = intergen('intergen', '-i', input)
|
||||||
|
// remove header
|
||||||
|
return result.split('\n').slice(3).join('\n')
|
||||||
}
|
}
|
||||||
|
|
||||||
function execute(source: string): string {
|
function execute(source: string): string {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user