Commit graph

29 commits

Author SHA1 Message Date
mattsmida
ef9613e2d6
Renaming test files according to their language (#3407) 2024-05-01 14:28:07 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021 2021-01-02 02:48:22 -05:00
Max Rossmannek
f35989be0e Enforce Python 3 for unittests
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]

For reference:
s;/usr/bin/env python;/usr/bin/env python3;g

[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-11-30 00:51:54 -05:00
Tomas Babej
a09f9d48ab Update copyright to 2020 2020-11-21 12:27:05 -05:00
Tomas Babej
02db131fa1 tests: Use updated unittest method 2020-11-21 12:27:05 -05:00
Tomas Babej
675b8e2798 tests: Do not explicitly require Python 2.7 2019-01-01 14:53:44 -05:00
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
4f7441efd3 Test: Merged bug.1254.t into calc.t 2015-10-23 08:57:26 -04:00
Tomas Babej
f5b9370623 tests: State explicit filetype for .t python files 2015-09-05 14:22:52 -04:00
Renato Alves
a5b8936f7a Test: Simplify path construction of calc binary 2015-07-27 21:33:14 +01:00
Renato Alves
9d09d35c59 Test: Convert bug.calc.t to Python 2015-07-24 15:33:26 +01:00
Renato Alves
ce4f67e1bd Test: Convert calc.t to Python 2015-07-24 15:29:41 +01:00
Paul Beckingham
f71e03ab06 Test: calc.t now tests usage and version 2015-07-17 14:10:32 -04:00
Paul Beckingham
72e13e4235 Test: Removed obsolete '--noambiguous' arg from calc test 2015-07-01 22:00:11 -04:00
Paul Beckingham
7aa55a8a71 Unit Tests
- Corrected test so it doesn't include '--' separator token.
2015-03-01 21:19:16 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
8de2a1030e Eval
- Reduced the verbosity of Eval under rc.debug.parser=3, improving readability.
- Updated unit tests regarding modified debug output.
2014-12-28 12:48:16 -05:00
Paul Beckingham
92b91a3141 Unit Tests
- Corrected calc output expectations.
2014-06-29 09:37:19 -04:00
Paul Beckingham
4c3a59a333 Unit Tests
- Removed obsolete tests.
2014-06-06 17:07:19 -04:00
Paul Beckingham
c342159369 Unit Tests
- calc.t was not up to date regarding the form of the diagnostic output.
2014-05-26 13:22:51 -04:00
Paul Beckingham
5893bfede5 Revert "Unit Tests"
This reverts commit 93a241417e.
2014-05-22 22:48:31 -04:00
Paul Beckingham
93a241417e Unit Tests
- Removed tests that are no longer relevant, and fail.
2014-05-22 16:14:05 -04:00
Paul Beckingham
25b8082fbd Diagnostics
- Added diagnostic token dump to 'calc' in debug mode, after token substitution
  so the new tokens can be seen.
- Added unit tests to look for parser syntax errors.
- Added test for '2--3'.
2014-04-06 23:57:15 -04:00
Paul Beckingham
409c6ddcd8 Unit Tests
- Added calculator tests.
2014-01-02 01:52:06 -05:00