Skip to content

Commit 6e9fda1

Browse files
hochpadenot
authored andcommitted
fix expected file comparison
1 parent 9d4feec commit 6e9fda1

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

compile.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,18 @@ fi
3636
# Run bikeshed and save the output. You can use this output as is
3737
# to update expected-errs.txt.
3838
bikeshed --print=plain -f spec 2>&1 | tee $BSLOG
39+
3940
# Remove the line numbers from the log, and make sure it ends with a newline.
4041
# Also remove any lines that start "cannot identify image file" because the path
4142
# is based the machine doing the build so we don't want that in the results.
42-
sed 's;^LINE [0-9]*:;LINE:;' $BSLOG |
43+
sed 's;^LINE [0-9]*:[0-9]*:;LINE:;' $BSLOG |
4344
sed '/^cannot identify image file/d' |
4445
sed -e '$a\' > $ERRLOG
46+
4547
# Do the same for the expected errors and compare the two. Any
4648
# differences need to be fixed. Exit with a non-zero exit code if
4749
# there are any differences.
48-
(sed 's;^LINE [0-9]*:;LINE:;' expected-errs.txt |
50+
(sed 's;^LINE [0-9]*:[0-9]*:;LINE:;' expected-errs.txt |
4951
sed '/^cannot identify image file/d' |
5052
sed -e '$a\' |
5153
diff -u - $ERRLOG) || exit 1

expected-errs.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
LINE: Saw a [[ opening a biblio or section autolink, but couldn't parse the following contents. If you didn't intend this to be a biblio autolink, escape the initial [ as [
21
LINE: Couldn't determine width and height of this image: 'images/cancel-linear.svg'
32
LINE: Couldn't determine width and height of this image: 'images/cancel-setTarget.svg'
43
LINE: Couldn't determine width and height of this image: 'images/cancel-setValueCurve.svg'

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10543,7 +10543,7 @@ Attributes</h5>
1054310543

1054410544
: <dfn>renderQuantumSize</dfn>
1054510545
::
10546-
The value of the private slot [[render quantum size]] of the associated
10546+
The value of the private slot <a>render quantum size</a> of the associated
1054710547
{{BaseAudioContext}}.
1054810548

1054910549
: <dfn>port</dfn>

0 commit comments

Comments
 (0)