mondo: rational number test
This commit is contained in:
parent
d5ef686fe0
commit
7fc21d55d7
2 changed files with 111 additions and 3 deletions
|
|
@ -437,6 +437,7 @@ export class MondoRunner {
|
|||
ast.value = Number(ast.value);
|
||||
} else if (['quotes_double', 'quotes_single'].includes(ast.type)) {
|
||||
ast.value = ast.value.slice(1, -1);
|
||||
ast.type = 'plain'; // is this problematic?
|
||||
}
|
||||
return this.evaluator(ast, scope);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue