aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/standard-version/testscript12
-rw-r--r--tests/wildcard/testscript20
2 files changed, 16 insertions, 16 deletions
diff --git a/tests/standard-version/testscript b/tests/standard-version/testscript
index 8a520a7..eb3603b 100644
--- a/tests/standard-version/testscript
+++ b/tests/standard-version/testscript
@@ -566,17 +566,17 @@
: tilda
:
{
- $* '1.2.1-a.2.345' <'~$' >'~1.2.0' : patch
- $* '1.2.0-a.0.345' <'~$' >'[1.2.0-a.0.1 1.2.0-a.1)' : minor
- $* '1.0.0-a.0.345' <'~$' >'[1.0.0-a.0.1 1.0.0-a.1)' : major
+ $* '1.2.1-a.2.345' <'~$' >'~1.2.0' : patch
+ $* '1.2.0-a.0.345' <'~$' >'[1.2.0-a.0.1 1.2.0-a.1)' : minor
+ $* '1.0.0-a.0.345' <'~$' >'[1.0.0-a.0.1 1.0.0-a.1)' : major
}
: carrot
:
{
- $* '1.2.1-a.2.345' <'^$' >'^1.0.0' : patch
- $* '1.2.0-a.0.345' <'^$' >'[1.2.0-a.0.1 1.2.0-a.1)' : minor
- $* '1.0.0-a.0.345' <'^$' >'[1.0.0-a.0.1 1.0.0-a.1)' : major
+ $* '1.2.1-a.2.345' <'^$' >'^1.0.0' : patch
+ $* '1.2.0-a.0.345' <'^$' >'[1.2.0-a.0.1 1.2.0-a.1)' : minor
+ $* '1.0.0-a.0.345' <'^$' >'[1.0.0-a.0.1 1.0.0-a.1)' : major
}
}
}
diff --git a/tests/wildcard/testscript b/tests/wildcard/testscript
index 4b6c4e0..a7ddb1a 100644
--- a/tests/wildcard/testscript
+++ b/tests/wildcard/testscript
@@ -1233,15 +1233,15 @@
$* a/* a/ == 1
$* a/* a/b/ == 1
- : multiple
- :
- {
+ : multiple
+ :
+ {
$* a/*/* a/b >/ a/b
$* a/*/* a == 1
$* a/*/* a/ == 1
$* a/*/* a/b/ == 1
- }
+ }
}
: dir
@@ -1258,8 +1258,8 @@
$* a/*/ a == 1
: multiple
- :
- {
+ :
+ {
$* a/*/*/ a/ >/ a/
$* a/*/*/ a/b >/ a/
@@ -1270,7 +1270,7 @@
EOO
$* a/*/*/ a == 1
- }
+ }
}
}
@@ -1296,14 +1296,14 @@
$* */a/* b/a/ == 1
: recursive
- :
- {
+ :
+ {
$* **/a/** a/b/c/d >/ a/b/c/d
$* **/a/** d/c/b/a/b/c/d >/ d/c/b/a/b/c/d
$* **/a/** a == 1
$* **/a/** d/c/b/a == 1
- }
+ }
}
}
}