zsh-workers
 help / color / mirror / code / Atom feed
339117aac3a24bcceb65312baa98d236d27a2f57 blob 594 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
%prep
  autoload -Uz is-at-least

%test

  versions=(
    1 1.1 1.1.1 1.2 1.2.1
    2 2.1 2.1.1 2.2 2.2.1
    3 3.1 3.1.1 3.2 3.2.1
  )
  for (( i = 1; i <= $#versions; ++i)); do
    for (( j = i+1; j <= $#versions; ++j)); do
      is-at-least $versions[i] $versions[j] || echo "$versions[i] ≰ $versions[j]"
      { ! is-at-least $versions[j] $versions[i] } || echo "$versions[j] ≤ $versions[i]"
    done
  done
0:is-at-least smoke test

  is-at-least 5.8.0.2 5.8
1f:regression tests: Two trailing zeroes are filled in
# TODO: When fixing this, extend the smoke test to cover this.

%clean
debug log:

solving 37952cdf6 ...
found 37952cdf6 in https://inbox.vuxu.org/zsh-workers/20200810080857.26d160ee@tarpaulin.shahaf.local2/

applying [1/1] https://inbox.vuxu.org/zsh-workers/20200810080857.26d160ee@tarpaulin.shahaf.local2/
diff --git a/Test/Z01is-at-least.ztst b/Test/Z01is-at-least.ztst
new file mode 100644
index 000000000..37952cdf6

Checking patch Test/Z01is-at-least.ztst...
Applied patch Test/Z01is-at-least.ztst cleanly.

index at:
100644 339117aac3a24bcceb65312baa98d236d27a2f57	Test/Z01is-at-least.ztst

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).