Skip to content

Commit fbb8a1b

Browse files
committed
Fix the sigil in behavior test comments
1 parent dfc2ae5 commit fbb8a1b

36 files changed

+54
-54
lines changed

fluent-syntax/test/behavior_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { readdir } from 'fs';
44
import { readfile } from './util';
55
import { parse } from '../src';
66

7-
const sigil = '^#~ ';
7+
const sigil = '^# ~';
88
const reDirective = new RegExp(`${sigil}(.*)[\n$]`, 'gm');
99

1010
function* directives(source) {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
key = { foo.23 }
22
3-
#~ ERROR E0004, pos 12, args "a-zA-Z"
3+
# ~ERROR E0004, pos 12, args "a-zA-Z"
44

55
key = { foo. }
66
7-
#~ ERROR E0004, pos 31, args "a-zA-Z"
7+
# ~ERROR E0004, pos 31, args "a-zA-Z"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
err1 = { -brand.gender }
2-
#~ ERROR E0019, pos 23
2+
# ~ERROR E0019, pos 23

fluent-syntax/test/fixtures_behavior/attribute_of_public_as_selector.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ err1 =
33
[1] One
44
*[2] Two
55
}
6-
#~ ERROR E0018, pos 21
6+
# ~ERROR E0018, pos 21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
foo = Value
22
.attr = Value 2
3-
#~ ERROR E0002, pos 12
3+
# ~ERROR E0002, pos 12
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
key = Value
22
.label =
3-
#~ ERROR E0012, pos 24
3+
# ~ERROR E0012, pos 24
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
key = Value
22
.label
3-
#~ ERROR E0003, pos 22, args "="
3+
# ~ERROR E0003, pos 22, args "="
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
key = { -2.4.5 }
2-
#~ ERROR E0003, pos 12, args "}"
2+
# ~ERROR E0003, pos 12, args "}"
33

44
key = { -2.4. }
5-
#~ ERROR E0003, pos 30, args "}"
5+
# ~ERROR E0003, pos 30, args "}"
66

77
key = { -.4 }
8-
#~ ERROR E0004, pos 44, args "a-zA-Z"
8+
# ~ERROR E0004, pos 44, args "a-zA-Z"
99

1010
key = { -2..4 }
11-
#~ ERROR E0004, pos 61, args "0-9"
11+
# ~ERROR E0004, pos 61, args "0-9"
1212

1313
key = { 24d }
14-
#~ ERROR E0003, pos 77, args "}"
14+
# ~ERROR E0003, pos 77, args "}"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
key = { no-caps-name() }
22
3-
#~ ERROR E0008, pos 21
3+
# ~ERROR E0008, pos 21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
key = { BUILTIN(2: "foo") }
2-
#~ ERROR E0009, pos 17
2+
# ~ERROR E0009, pos 17

0 commit comments

Comments
 (0)