diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-08 14:38:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-08 14:38:27 (GMT) |
commit | d3fbbafe0819cd62a734173f1b994ba6e0554372 (patch) | |
tree | dbbaee1b1b69fb66ce6aa6fae1fb17e6ec8f1a6a /tests | |
parent | 72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5 (diff) | |
parent | 7d0ca0e42091bc22762c16669fe03d54d1bfa013 (diff) | |
download | tcl-semver.zip tcl-semver.tar.gz tcl-semver.tar.bz2 |
Re-base to trunk. Now versioned as 8.7.0-alpha.2semver
Diffstat (limited to 'tests')
-rw-r--r-- | tests/package.test | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/package.test b/tests/package.test index 99f9f06..3ee868f 100644 --- a/tests/package.test +++ b/tests/package.test @@ -117,6 +117,14 @@ test package-2.6 {Tcl_PkgProvide procedure} { package forget t package provide t 2.3a1 } {} +test package-2.7 {Tcl_PkgProvide procedure} { + package forget t + package provide t 2.3.0-alpha.1 +} {} +test package-2.8 {Tcl_PkgProvide procedure} { + package forget t + package provide t 2.3.0-rc.1 +} {} set n 0 foreach v { @@ -579,7 +587,7 @@ test package-3.50 {Tcl_PkgRequire procedure, picking best stable version} -const package forget t set x xxx } -body { - foreach i {1.4 3.4 4.0a1 2.3 2.4 2.2} { + foreach i {1.4 3.4 4.0a1 4.0.0-alpha.1 2.3 2.4 2.2} { package ifneeded t $i "set x $i; package provide t $i" } package require t @@ -589,7 +597,7 @@ test package-3.51 {Tcl_PkgRequire procedure, picking best stable version} -setup package forget t set x xxx } -body { - foreach i {1.2b1 1.2 1.3a2 1.3} { + foreach i {1.2b1 1.2.0-beta.1 1.2 1.3a2 1.3.0-alpha.2 1.3} { package ifneeded t $i "set x $i; package provide t $i" } package require t @@ -599,7 +607,7 @@ test package-3.52 {Tcl_PkgRequire procedure, picking best stable version} -setup package forget t set x xxx } -body { - foreach i {1.2b1 1.2 1.3 1.3a2} { + foreach i {1.2b1 1.2.0-beta.1 1.2 1.3 1.3a2 1.3.0-alpha.2} { package ifneeded t $i "set x $i; package provide t $i" } package require t |