-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
997 additions
and
2,983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
168 changes: 81 additions & 87 deletions
168
tests/__snapshots__/fileDisplayTest__display_filesizes_correctly__1.html
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 21 additions & 16 deletions
37
tests/__snapshots__/plainDisplayTest__just_random_stuff__1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
<html> | ||
<head><meta charset="utf-8"></head> | ||
<body><p>┌──────────────────────────────────────────────────────────────────────────────┐ | ||
└──────────────────────────────────────────────────────────────────────────────┘ | ||
array (2) [ | ||
'foo' => string (3) "far" | ||
'bar' => array (2) [ | ||
'baz' => integer 0 | ||
'buzz' => float INF | ||
<head> | ||
<meta charset="utf-8"> | ||
<style>._sage_plain{text-shadow: #eee 0 0 7px;}._sage_plain *{display: inline;margin: 0;font-size: 1em}._sage_plain h1{color:#5aF}._sage_plain var{color:#d11}._sage_plain dfn{color:#3d3}._sage_plain a{color: inherit;filter: brightness(0.85);}</style> | ||
<script>window.onload=function(){document.querySelectorAll("._sage_plain a").forEach(el=>el.addEventListener("click",e=>{e.preventDefault();let X=new XMLHttpRequest;X.open("GET",e.target.href);X.send()}))}</script> | ||
</head> | ||
<body><pre class="_sage_plain"><h1>┌──────────────────────────────────────────────────────────────────────────────┐ | ||
│ ??? │ | ||
└──────────────────────────────────────────────────────────────────────────────┘</h1> | ||
<b>array (2)</b> [ | ||
<dfn>'foo'</dfn> => <b>string (3)</b> <var>"far"</var> | ||
<dfn>'bar'</dfn> => <b>array (2)</b> [ | ||
<dfn>'baz'</dfn> => <b>integer</b> <var>0</var> | ||
<dfn>'buzz'</dfn> => <b>float</b> <var>INF</var> | ||
] | ||
] | ||
════════════════════════════════════════════════════════════════════════════════ | ||
Call stack tests/all/plainDisplayTest.php:17 | ||
vendor/pestphp/pest/src/Factories/TestCaseFactory.php:151 | ||
vendor/pestphp/pest/src/Concerns/Testable.php:301 | ||
vendor/pestphp/pest/src/Support/ExceptionTrace.php:29 | ||
vendor/pestphp/pest/src/Concerns/Testable.php:300 | ||
|
||
</p></body> | ||
<h1>════════════════════════════════════════════════════════════════════════════════ | ||
Call stack <a href="http://localhost:63342/api/file/tests/all/plainDisplayTest.php:12">tests/all/plainDisplayTest.php:12</a> | ||
2. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Factories/TestCaseFactory.php:151">vendor/pestphp/pest/src/Factories/TestCaseFactory.php:151</a> | ||
3. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Concerns/Testable.php:301">vendor/pestphp/pest/src/Concerns/Testable.php:301</a> | ||
4. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Support/ExceptionTrace.php:29">vendor/pestphp/pest/src/Support/ExceptionTrace.php:29</a> | ||
5. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Concerns/Testable.php:300">vendor/pestphp/pest/src/Concerns/Testable.php:300</a> | ||
</h1> | ||
</pre></body> | ||
</html> |
32 changes: 20 additions & 12 deletions
32
tests/__snapshots__/plainDisplayTest__just_random_stuff__2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
<html> | ||
<head><meta charset="utf-8"></head> | ||
<body><p>┌──────────────────────────────────────────────────────────────────────────────┐ | ||
└──────────────────────────────────────────────────────────────────────────────┘ | ||
string (23) "[[no arguments passed]]" | ||
════════════════════════════════════════════════════════════════════════════════ | ||
Call stack tests/all/plainDisplayTest.php:22 | ||
vendor/pestphp/pest/src/Factories/TestCaseFactory.php:151 | ||
vendor/pestphp/pest/src/Concerns/Testable.php:301 | ||
vendor/pestphp/pest/src/Support/ExceptionTrace.php:29 | ||
vendor/pestphp/pest/src/Concerns/Testable.php:300 | ||
|
||
</p></body> | ||
<head> | ||
<meta charset="utf-8"> | ||
<style>._sage_plain{text-shadow: #eee 0 0 7px;}._sage_plain *{display: inline;margin: 0;font-size: 1em}._sage_plain h1{color:#5aF}._sage_plain var{color:#d11}._sage_plain dfn{color:#3d3}._sage_plain a{color: inherit;filter: brightness(0.85);}</style> | ||
<script>window.onload=function(){document.querySelectorAll("._sage_plain a").forEach(el=>el.addEventListener("click",e=>{e.preventDefault();let X=new XMLHttpRequest;X.open("GET",e.target.href);X.send()}))}</script> | ||
</head> | ||
<body><pre class="_sage_plain"><h1>┌──────────────────────────────────────────────────────────────────────────────┐ | ||
│ sage( no parameters ) │ | ||
└──────────────────────────────────────────────────────────────────────────────┘</h1> | ||
<b></b> ( | ||
<dfn>Time (from microtime)</dfn>: <var>2023-10-10 07:51:27.18374800</var> | ||
<dfn>PHP MEMORY USAGE</dfn>: <var>8MB</var> | ||
) | ||
<h1>════════════════════════════════════════════════════════════════════════════════ | ||
Call stack <a href="http://localhost:63342/api/file/tests/all/plainDisplayTest.php:17">tests/all/plainDisplayTest.php:17</a> | ||
2. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Factories/TestCaseFactory.php:151">vendor/pestphp/pest/src/Factories/TestCaseFactory.php:151</a> | ||
3. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Concerns/Testable.php:301">vendor/pestphp/pest/src/Concerns/Testable.php:301</a> | ||
4. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Support/ExceptionTrace.php:29">vendor/pestphp/pest/src/Support/ExceptionTrace.php:29</a> | ||
5. <a href="http://localhost:63342/api/file/vendor/pestphp/pest/src/Concerns/Testable.php:300">vendor/pestphp/pest/src/Concerns/Testable.php:300</a> | ||
</h1> | ||
</pre></body> | ||
</html> |
Oops, something went wrong.