Skip to content

Commit a24e234

Browse files
committed
Moved the tests to a subdirectory #34
1 parent b05e635 commit a24e234

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@
2424
"psr-0": {
2525
"Embed": ""
2626
}
27-
}
27+
},
28+
"archive": {
29+
"exclude": ["/demo"]
30+
}
2831
}

test.php renamed to demo/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function getResolverOption($name, $default = null)
125125
?>
126126

127127
<body>
128-
<form action="test.php">
128+
<form action="index.php">
129129
<fieldset class="main">
130130
<label><span>Url to test:</span> <input type="url" name="url" autofocus placeholder="http://" value="<?php echo isset($_GET['url']) ? $_GET['url'] : ''; ?>"></label>
131131
</fieldset>

test-sources.php renamed to demo/sources.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</head>
4343

4444
<body>
45-
<form action="test-sources.php" method="get">
45+
<form action="sources.php" method="get">
4646
<fieldset>
4747
<label>Url to test: <input type="url" name="url" autofocus placeholder="http://" value="<?php echo isset($_GET['url']) ? $_GET['url'] : ''; ?>"></label>
4848
<button type="submit">Test</button>

0 commit comments

Comments
 (0)