Skip to content

Commit 0e9ed8e

Browse files
Test scripted encoding support
This change adds a `scripted` subdirectory in the `encoding` directory, with tests for which the expected results require a system with scripting support. The change removes an existing test from the `encoding/tests1.dat` file, and moves it to the `encoding/scripted/tests1.dat` file.
1 parent 2ebee8b commit 0e9ed8e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

encoding/scripted/tests1.dat

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#data
2+
<!DOCTYPE HTML>
3+
<script>document.write('<meta charset="ISO-8859-' + '2">')</script>
4+
#encoding
5+
iso-8859-2

encoding/tests1.dat

-6
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,6 @@ iso-8859-2
356356
#encoding
357357
iso-8859-2
358358

359-
#data
360-
<!DOCTYPE HTML>
361-
<script>document.write('<meta charset="ISO-8859-' + '2">')</script>
362-
#encoding
363-
iso-8859-2
364-
365359
#data
366360
<!DOCTYPE HTML>
367361
<script>document.write('<meta charset="iso8859-2">')</script>

0 commit comments

Comments
 (0)