Skip to content

Commit d64430c

Browse files
committed
Simplify test data
1 parent d521df6 commit d64430c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test_matcher.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,42 +14,42 @@ for (const pattern of patterns) {
1414
}
1515

1616
const sphinx_log =
17-
`/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings_and_errors/index.rst:16: WARNING: Error in "code-block" directive:
17+
`/tmp/spam/warnings_and_errors/index.rst:16: WARNING: Error in "code-block" directive:
1818
maximum 1 argument(s) allowed, 2 supplied.
1919
.. code-block:: ruby
2020
as
2121
22-
/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/index.rst:22: WARNING: Problems with "include" directive path:
22+
/tmp/spam/warnings/index.rst:22: WARNING: Problems with "include" directive path:
2323
InputError: [Errno 2] No such file or directory: 'I_DONT_EXIST'.
2424
2525
26-
/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/index.rst:24: WARNING: Unknown directive type "BADDIRECTIVE".
26+
/tmp/spam/warnings/index.rst:24: WARNING: Unknown directive type "BADDIRECTIVE".
2727
.. BADDIRECTIVE:: asdf
2828
29-
checking consistency... /home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/notintoc.rst: WARNING: document isn't included in any toctree`;
29+
checking consistency... /tmp/spam/warnings/notintoc.rst: WARNING: document isn't included in any toctree`;
3030

3131

3232
const expected_matches = [
3333
{
34-
'file': '/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings_and_errors/index.rst',
34+
'file': '/tmp/spam/warnings_and_errors/index.rst',
3535
'line': '16',
3636
'severity': 'WARNING',
3737
'message': 'Error in "code-block" directive:'
3838
},
3939
{
40-
'file': '/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/index.rst',
40+
'file': '/tmp/spam/warnings/index.rst',
4141
'line': '22',
4242
'severity': 'WARNING',
4343
'message': 'Problems with "include" directive path:'
4444
},
4545
{
46-
'file': '/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/index.rst',
46+
'file': '/tmp/spam/warnings/index.rst',
4747
'line': '24',
4848
'severity': 'WARNING',
4949
'message': 'Unknown directive type "BADDIRECTIVE".',
5050
},
5151
{
52-
'file': '/home/travis/build/ammaraskar/sphinx-action/tests/test_projects/warnings/notintoc.rst',
52+
'file': '/tmp/spam/warnings/notintoc.rst',
5353
'line': null,
5454
'severity': 'WARNING',
5555
'message': "document isn't included in any toctree"

0 commit comments

Comments
 (0)