timewarrior/test
Shaun Ruffell 2897379b14 test:summary.t: Single digit week test should use logical or
The bitwise or, `|` had higher precendence than the `>` test. Fixes the
following error:

  not ok 4 - summary.t: Summary should work with :all hint
  # FAIL: AssertionError on file test/summary.t line 213 in test_with_all_hint: 'self.assertIn("""':
  #       '
  # Wk Date       Day ID Tags    Start      End    Time   Total
  # -- ---------- --- -- ---- -------- -------- ------- -------
  # W13 2021-04-04 Sun @3 FOO  10:00:00 11:00:00 1:00:00 1:00:00
  # W14 2021-04-05 Mon @2 BAR  10:00:00 11:00:00 1:00:00 1:00:00
  # W14 2021-04-06 Tue @1 BAZ  10:00:00 11:00:00 1:00:00 1:00:00
  #
  #                                                     3:00:00
  # ' not found in '
  # Wk  Date       Day ID Tags    Start      End    Time   Total
  # --- ---------- --- -- ---- -------- -------- ------- -------
  # W13 2021-04-04 Sun @3 FOO  10:00:00 11:00:00 1:00:00 1:00:00
  # W14 2021-04-05 Mon @2 BAR  10:00:00 11:00:00 1:00:00 1:00:00
  # W14 2021-04-06 Tue @1 BAZ  10:00:00 11:00:00 1:00:00 1:00:00
  #
  #                                                      3:00:00
  #
  # '

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
2021-04-10 22:52:04 +02:00
..
basetest test: Thread.isAlive() -> Thread.is_alive() 2020-11-21 15:34:04 +01:00
docker Replace roff man pages with asciidoctor 2021-02-21 20:58:30 +01:00
scripts Replace roff man pages with asciidoctor 2021-02-21 20:58:30 +01:00
simpletap doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
test_extensions Tests: check ways report could be called from cli 2016-06-23 17:21:13 -04:00
.gitignore test: Add test to ensure Datafile throws when deleteInterval fails 2020-08-11 10:39:34 +02:00
annotate.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
AtomicFile.t Rename atomic to AtomicFileTest 2020-03-02 21:42:53 +01:00
AtomicFileTest.cpp doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
bash_tap.sh Use https:// link for opensource.org 2018-03-16 23:11:08 +01:00
bash_tap_ti.sh Use https:// link for opensource.org 2018-03-16 23:11:08 +01:00
cancel.t Update Copyright 2020-04-19 12:41:23 +02:00
chart.t Update Copyright 2020-04-19 12:41:23 +02:00
cli.t Update Copyright 2020-04-19 12:41:23 +02:00
clock.t Add starting times to start command 2020-08-19 15:41:52 +02:00
CMakeLists.txt test: The tests depend on the documentation. 2021-04-10 22:52:04 +02:00
config.t Update Copyright 2020-04-19 12:41:23 +02:00
continue.t Add test for command continue with future time 2020-08-21 23:03:53 +02:00
data.t.cpp Update copyright dates 2019-10-18 10:59:16 +02:00
Datafile.t.cpp doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
DatetimeParser.t.cpp doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
delete.t Use dynamic test data for interval enclosing a month border in delete.t 2020-07-17 13:59:05 +02:00
dom.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
exclusion.t.cpp Update copyright holders 2019-10-18 10:59:16 +02:00
export.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
extensions.t Update Copyright 2020-04-19 12:41:23 +02:00
fill.t Update Copyright 2020-04-19 12:41:23 +02:00
gaps.t Update Copyright 2020-04-19 12:41:23 +02:00
help.t Replace roff man pages with asciidoctor 2021-02-21 20:58:30 +01:00
helper.t.cpp Update copyright holders 2019-10-18 10:59:16 +02:00
ids.t Update Copyright 2020-04-19 12:41:23 +02:00
interval.t.cpp doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
join.t Update Copyright 2020-04-19 12:41:23 +02:00
lengthen.t Update Copyright 2020-04-19 12:41:23 +02:00
modify.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
move.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
performance-plot.py Add performance tests 2019-12-06 16:29:40 +01:00
performance-test.sh test: Use faketime instead of date -v for relative dates 2020-01-17 17:48:57 +01:00
problems test/problems: Report when tests do not run properly 2020-01-26 22:38:52 +01:00
quiet.t Update Copyright 2020-04-19 12:41:23 +02:00
range.t.cpp Update copyright dates 2019-10-18 10:59:16 +02:00
resize.t Update Copyright 2020-04-19 12:41:23 +02:00
rules.t.cpp Update copyright holders 2019-10-18 10:59:16 +02:00
run_all Switch to python 3 2019-12-27 19:08:57 +01:00
shorten.t Update Copyright 2020-04-19 12:41:23 +02:00
split.t Update Copyright 2020-04-19 12:41:23 +02:00
start.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
stop.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
summary.t test:summary.t: Single digit week test should use logical or 2021-04-10 22:52:04 +02:00
tag.t Add starting times to start command 2020-08-19 15:41:52 +02:00
TagInfoDatabase.t.cpp doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
tags.t Update Copyright 2020-04-19 12:41:23 +02:00
TempDir.h doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
test.cpp Update copyright holders 2019-10-18 10:59:16 +02:00
test.h Update copyright holders 2019-10-18 10:59:16 +02:00
test_on-modify.timewarrior.t Update Copyright 2020-04-19 12:41:23 +02:00
test_totals.t Update Copyright 2020-04-19 12:41:23 +02:00
timemachine Add options --hours and --minutes to inject a range 2019-11-12 16:32:15 +01:00
track.t doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
undo.t test: Add tests for -1, 0, 1, and 2 'journal.size' settings 2020-08-10 22:24:52 +02:00
untag.t Update Copyright 2020-04-19 12:41:23 +02:00
util.t.cpp Update copyright holders 2019-10-18 10:59:16 +02:00
version.t Update Copyright 2020-04-19 12:41:23 +02:00
write-failure.t test: Add write-failure.t 2020-02-23 19:03:40 +01:00