summaryrefslogtreecommitdiff
path: root/src/syntax/test.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-07-27 13:47:29 +0200
committerLaurenz <laurmaedje@gmail.com>2020-07-27 13:47:29 +0200
commit53ca5a7fc5829d4c5b1cffc6d5a5f1706f8ec3cd (patch)
tree517d63931d32e7425dad277c2d74fa7731227cb2 /src/syntax/test.rs
parent9f400042cbb8aef7fa9b77b080f15a3701abf7a9 (diff)
Refactor parser 🚇
Diffstat (limited to 'src/syntax/test.rs')
-rw-r--r--src/syntax/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax/test.rs b/src/syntax/test.rs
index aaad5c12..7b1e0830 100644
--- a/src/syntax/test.rs
+++ b/src/syntax/test.rs
@@ -63,13 +63,13 @@ function! {
pub body: Option<SyntaxModel>,
}
- parse(header, body, ctx, f) {
+ parse(header, body, state, f) {
let cloned = header.clone();
header.args.pos.items.clear();
header.args.key.pairs.clear();
DebugFn {
header: cloned,
- body: body!(opt: body, ctx, f),
+ body: body!(opt: body, state, f),
}
}