mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Add missing awaits in Rust argument parser tests (#7862)
Resolves #7826.
This commit is contained in:
@@ -314,7 +314,7 @@ describe('Rust help message parser', () => {
|
||||
const compiler = makeCompiler(lines.join('\n'));
|
||||
await RustParser.parse(compiler);
|
||||
expect(compiler.compiler.supportsTarget).toBe(true);
|
||||
expect(RustParser.getOptions(compiler, '--help')).resolves.toEqual({
|
||||
await expect(RustParser.getOptions(compiler, '--help')).resolves.toEqual({
|
||||
'-l [KIND[:MODIFIERS]=]NAME[:RENAME]': {
|
||||
description:
|
||||
'Link the generated crate(s) to the specified native library NAME. The optional KIND can be one of',
|
||||
@@ -346,7 +346,7 @@ describe('Rust help message parser', () => {
|
||||
const compiler = makeCompiler(lines.join('\n'));
|
||||
await RustParser.parse(compiler);
|
||||
expect(compiler.compiler.supportsTarget).toBe(true);
|
||||
expect(RustParser.getOptions(compiler, '--help')).resolves.toEqual({
|
||||
await expect(RustParser.getOptions(compiler, '--help')).resolves.toEqual({
|
||||
'-l [<KIND>[:<MODIFIERS>]=]<NAME>[:<RENAME>]': {
|
||||
description:
|
||||
'Link the generated crate(s) to the specified native library NAME. The optional KIND can be one of',
|
||||
|
||||
Reference in New Issue
Block a user