fix tests
This commit is contained in:
parent
c395b2ae38
commit
20c7db953e
2 changed files with 3 additions and 2 deletions
|
@ -39,8 +39,8 @@ fn main() -> anyhow::Result<()> {
|
|||
.context("Failed to parse input")?;
|
||||
|
||||
let compiler = Compiler::from(Context::new(
|
||||
'n',
|
||||
'L',
|
||||
'n',
|
||||
opts.variables()
|
||||
.map(|(a, b)| (*a, *b))
|
||||
.chain(default_variables.into_iter()),
|
||||
|
|
|
@ -445,11 +445,12 @@ mod tests {
|
|||
|
||||
fn context_generator() -> Context {
|
||||
Context::new(
|
||||
'n',
|
||||
'L',
|
||||
'n',
|
||||
[
|
||||
('a', 5.0),
|
||||
('t', 0.0),
|
||||
('n', 0.0),
|
||||
('N', 12.0),
|
||||
('L', 0.0),
|
||||
('l', 4.0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue