From f3d9a26fe6b921ae45b6a4c38713b4ba20754f43 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 7 Sep 2021 19:10:52 +0300 Subject: Add string-parsing constructors to dependency, requirement_alternatives, and test_dependency classes --- tests/manifest/testscript | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tests/manifest/testscript') diff --git a/tests/manifest/testscript b/tests/manifest/testscript index 4770e96..25e0ae3 100644 --- a/tests/manifest/testscript +++ b/tests/manifest/testscript @@ -546,7 +546,7 @@ { : short-name : - $* <'stdin:6:10: error: invalid prerequisite package name: length is less than two characters' != 0 + $* <'stdin:6:10: error: invalid package name: length is less than two characters' != 0 : 1 name: foo version: 2.0.0 @@ -557,7 +557,7 @@ : invalid-version-range : - $* -c <'stdin:6:10: error: invalid prerequisite package constraint: min version is greater than max version' != 0 + $* -c <'stdin:6:10: error: invalid package constraint: min version is greater than max version' != 0 : 1 name: foo version: 2.0.0 @@ -628,7 +628,7 @@ license: LGPLv2 depends: bar ~$ EOI - stdin:6:10: error: invalid prerequisite package constraint: dependent version is not standard + stdin:6:10: error: invalid package constraint: dependent version is not standard EOE : latest-snapshot @@ -668,7 +668,7 @@ { : short-name : - $* <'stdin:6:8: error: invalid tests package name: length is less than two characters' != 0 + $* <'stdin:6:8: error: invalid package name: length is less than two characters' != 0 : 1 name: foo version: 2.0.0 @@ -679,7 +679,7 @@ : invalid-version-range-incomplete : - $* -c <'stdin:6:8: error: invalid tests package constraint: min version is greater than max version' != 0 + $* -c <'stdin:6:8: error: invalid package constraint: min version is greater than max version' != 0 : 1 name: foo version: 2.0.0 @@ -690,7 +690,7 @@ : invalid-version-range : - $* -c <'stdin:6:8: error: invalid tests package constraint: min version is greater than max version' != 0 + $* -c <'stdin:6:8: error: invalid package constraint: min version is greater than max version' != 0 : 1 name: foo version: 2.0.0 @@ -701,7 +701,7 @@ : invalid-version : - $* -c <'stdin:6:8: error: invalid tests package constraint: invalid version: equal version endpoints are earliest' != 0 + $* -c <'stdin:6:8: error: invalid package constraint: invalid version: equal version endpoints are earliest' != 0 : 1 name: foo version: 2.0.0 @@ -712,7 +712,7 @@ : no-name : - $* <'stdin:6:8: error: no tests package name specified' != 0 + $* <'stdin:6:8: error: no package name specified' != 0 : 1 name: foo version: 2.0.0 @@ -765,7 +765,7 @@ license: LGPLv2 tests: bar ~$ EOI - stdin:6:8: error: invalid tests package constraint: dependent version is not standard + stdin:6:8: error: invalid package constraint: dependent version is not standard EOE } @@ -871,7 +871,7 @@ { : incomplete : - $* <'stdin:8:10: error: $ not allowed' != 0 + $* <'stdin:8:10: error: invalid package constraint: $ not allowed' != 0 : 1 sha256sum: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : -- cgit v1.1