Skip to content

Commit

Permalink
Add a small intentional error to demonstrate the feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 29, 2023
1 parent 4e4ed73 commit c4f98e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojo/file.t
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ subtest 'dirname' => sub {

subtest 'extname' => sub {
is path('.file.txt')->extname, 'txt', 'right extension';
is path('file.txt')->extname, 'txt', 'right extension';
is path('file.txt')->extname, 'tx', 'right extension';

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.18)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.16)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.22)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.30)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.20)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.16)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.20)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---

Check failure on line 62 in t/mojo/file.t

View workflow job for this annotation

GitHub Actions / perl (5.18)

Failed Tests

- right extension --- CAPTURED CONTEXT --- # got: 'txt' # expected: 'tx' --- END OF CONTEXT ---
is path('file')->extname, '', 'no extension';
is path('.file')->extname, '', 'no extension';
is path('home', 'foo', 'file.txt')->extname, 'txt', 'right extension';
Expand Down

0 comments on commit c4f98e1

Please sign in to comment.