mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 03:19:47 -06:00
fix test
This commit is contained in:
@@ -54,9 +54,9 @@ describe('Pascal', () => {
|
||||
|
||||
it('Basic compiler setup', () => {
|
||||
if (process.platform === 'win32') {
|
||||
expect(compiler.getOutputFilename('/tmp/', 'prog.pas')).toEqual('\\tmp\\prog.s');
|
||||
expect(compiler.getOutputFilename('/tmp/', 'prog', {source: 'unit prog;\n//etc'})).toEqual('\\tmp\\prog.s');
|
||||
} else {
|
||||
expect(compiler.getOutputFilename('/tmp/', 'prog.pas')).toEqual('/tmp/prog.s');
|
||||
expect(compiler.getOutputFilename('/tmp/', 'prog', {source: 'unit prog;\n//etc'})).toEqual('/tmp/prog.s');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user