diff options
| author | tingerrr <me@tinger.dev> | 2024-09-02 14:45:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 12:45:50 +0000 |
| commit | 799eb8004eeafd758ed53c79c4e1ce34afb268dd (patch) | |
| tree | 8744b8eedf9edba27bb876d6b019c42dc941d8f9 /tests/suite/scripting/ops.typ | |
| parent | 39b47060ccb214290d49d9767372231877e2921f (diff) | |
Improve unknown variable diagnostics (#4858)
Diffstat (limited to 'tests/suite/scripting/ops.typ')
| -rw-r--r-- | tests/suite/scripting/ops.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/scripting/ops.typ b/tests/suite/scripting/ops.typ index 1c957217..e0c94e02 100644 --- a/tests/suite/scripting/ops.typ +++ b/tests/suite/scripting/ops.typ @@ -414,7 +414,7 @@ --- ops-assign-unknown-var-lhs --- #{ // Error: 3-6 unknown variable: a-1 - // Hint: 3-6 if you meant to use subtraction, try adding spaces around the minus sign + // Hint: 3-6 if you meant to use subtraction, try adding spaces around the minus sign: `a - 1` a-1 = 2 } @@ -425,7 +425,7 @@ a = a -1 // Error: 7-10 unknown variable: a-1 - // Hint: 7-10 if you meant to use subtraction, try adding spaces around the minus sign + // Hint: 7-10 if you meant to use subtraction, try adding spaces around the minus sign: `a - 1` a = a-1 } |
