Skip to content

Commit 2ce5566

Browse files
committed
fix error message arrow
1 parent 35e0a0d commit 2ce5566

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

resources/www/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,11 @@ <h3 class="text-sm text-gray-400">Cleaner syntax</h3>
356356
<div class="font-bold mt-2">Failed asserting that <span class="text-yellow-300">2</span> is identical to <span class="text-yellow-300">3</span>.</div>
357357
at <span class="text-green-500">tests/MathTest.php:4</span>
358358

359-
<span class="text-gray-500">1</span> <span class="text-gray-400">&lt;?php</span>
360-
<span class="text-gray-500">2</span>
361-
<span class="text-gray-500">3</span> <span class="text-pink-400">it</span>(<span class="text-green-400">'adds numbers'</span>, <span class="text-blue-400">function</span> () {
362-
<span class="text-gray-500">4</span> <span class="text-blue-300">expect</span>(<span class="text-yellow-300">1</span> + <span class="text-yellow-300">1</span>)-><span class="text-blue-300">toBe</span>(<span class="text-yellow-300">3</span>);
363-
<span class="text-gray-500">5</span> });
359+
<span class="text-gray-500">1</span> <span class="text-gray-400">&lt;?php</span>
360+
<span class="text-gray-500">2</span>
361+
<span class="text-gray-500">3</span> <span class="text-pink-400">it</span>(<span class="text-green-400">'adds numbers'</span>, <span class="text-blue-400">function</span> () {
362+
<span class="text-red-500 font-bold text-base"></span> <span class="text-gray-500 ml-1">4</span> <span class="text-blue-300">expect</span>(<span class="text-yellow-300">1</span> + <span class="text-yellow-300">1</span>)-><span class="text-blue-300">toBe</span>(<span class="text-yellow-300">3</span>);
363+
<span class="text-gray-500">5</span> });
364364
</code>
365365
</pre>
366366
</div>
@@ -393,7 +393,7 @@ <h3 class="text-sm text-gray-400">All-in-one Framework</h3>
393393
const update = (e) => {
394394
if (dragging) {
395395
const rect = $el.getBoundingClientRect();
396-
x = Math.min(100, Math.max(5, (((e.clientX - rect.left) - (handleWidth / 2)) / rect.width) * 100));
396+
x = Math.min(100, Math.max(7, (((e.clientX - rect.left) - (handleWidth / 2)) / rect.width) * 100));
397397
}
398398
};
399399
window.addEventListener('mousemove', update);

0 commit comments

Comments
 (0)