diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-08-04 20:31:36 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-08-04 20:31:36 +0200 |
| commit | 7511daac4e7e3e239e96b401955e9b4825ff6607 (patch) | |
| tree | 338c1a70686f4e7d23e88929b8c5f260d0181cf0 | |
| parent | 9b2428b72de7a82eff46890a16662af5d69921c5 (diff) | |
Fix tests.
| -rw-r--r-- | tools/odinfmt/tests/.snapshots/ternary.odin | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/odinfmt/tests/.snapshots/ternary.odin b/tools/odinfmt/tests/.snapshots/ternary.odin index 50d48fb..ccbeaf5 100644 --- a/tools/odinfmt/tests/.snapshots/ternary.odin +++ b/tools/odinfmt/tests/.snapshots/ternary.odin @@ -3,15 +3,11 @@ package odinfmt_test main :: proc() { a := - .Group in options \ - ? group(visit_expr(p, expr, called_from, options)) \ - : visit_expr(p, expr, called_from, options) + .Group in options ? group(visit_expr(p, expr, called_from, options)) : visit_expr(p, expr, called_from, options) document = cons( document, - .Group in options \ - ? group(visit_expr(p, expr, called_from, options)) \ - : visit_expr(p, expr, called_from, options), + .Group in options ? group(visit_expr(p, expr, called_from, options)) : visit_expr(p, expr, called_from, options), ) } |