Skip to content

Commit 1d4da2d

Browse files
committed
Add test page for form submission instead of using Google
1 parent fa38549 commit 1d4da2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/hljs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ <h4><a href="prism.html">Test for Prism.js</a></h4>
4141
<p>This page carries out automated tests for the code-input library to check that both the core components and the plugins work in some ways. It doesn't fully cover every scenario so you should test any code you change by hand, but it's good for quickly checking a wide range of functionality works.</p>
4242

4343
<details id="collapse-results"><summary>Test Results (Click to Open)</summary><pre id="test-results"></pre></details>
44-
<form method="GET" action="https://google.com/search" target="_blank">
44+
<form method="GET" action="afterform.html" target="_blank">
4545
<code-input><textarea data-code-input-fallback name="q">console.log("Hello, World!");
4646
// A second line
4747
// A third line with &lt;html> tags</textarea></code-input>
48-
<input type="submit" value="Search Google For Code"/>
48+
<input type="submit" value="Test HTML Form"/>
4949
</form>
5050

5151
<script>

tests/prism.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ <h4><a href="hljs.html">Test for highlight.js</a></h4>
4040
<p>This page carries out automated tests for the code-input library to check that both the core components and the plugins work in some ways. It doesn't fully cover every scenario so you should test any code you change by hand, but it's good for quickly checking a wide range of functionality works.</p>
4141

4242
<details id="collapse-results"><summary>Test Results (Click to Open)</summary><pre id="test-results"></pre></details>
43-
<form method="GET" class="match-braces line-numbers" action="https://google.com/search" target="_blank">
43+
<form method="GET" class="match-braces line-numbers" action="afterform.html" target="_blank">
4444
<code-input><textarea data-code-input-fallback name="q">console.log("Hello, World!");
4545
// A second line
4646
// A third line with &lt;html> tags</textarea></code-input>
47-
<input type="submit" value="Search Google For Code"/>
47+
<input type="submit" value="Test HTML Form"/>
4848
</form>
4949

5050
<script>

0 commit comments

Comments
 (0)