diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-18 14:44:49 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-19 00:04:14 +0300 |
| commit | 64f8479097fa04c1b9e16646d203b78a43dbfd6b (patch) | |
| tree | 15a90c2514362f86f5f9d34f1aa826f6fbb89126 | |
| parent | ac6041e1107f97e156ff4314a31d909ce0c404ea (diff) | |
| download | meson-64f8479097fa04c1b9e16646d203b78a43dbfd6b.tar.gz | |
In text, betterer grammer usings.
| -rw-r--r-- | mesonbuild/wrap/wrap.py | 2 | ||||
| -rwxr-xr-x | run_unittests.py | 2 | ||||
| -rw-r--r-- | test cases/failing/33 non-root subproject/test.json | 2 | ||||
| -rw-r--r-- | test cases/failing/78 subproj dependency not-found and required/test.json | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py index a4e0b25c0..bc35893a5 100644 --- a/mesonbuild/wrap/wrap.py +++ b/mesonbuild/wrap/wrap.py @@ -264,7 +264,7 @@ class Resolver: self.directory = packagename self.wrap = self.wraps.get(packagename) if not self.wrap: - m = 'Subproject directory not found and {}.wrap file not found' + m = 'Neither a subproject directory nor a {}.wrap file was found.' raise WrapNotFoundException(m.format(self.packagename)) self.directory = self.wrap.directory diff --git a/run_unittests.py b/run_unittests.py index 97bdad92f..37b50c35e 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -5459,7 +5459,7 @@ class FailureTests(BasePlatformTests): ''' tdir = os.path.join(self.unit_test_dir, '20 subproj dep variables') out = self.init(tdir, inprocess=True) - self.assertRegex(out, r"Subproject directory not found and .*nosubproj.wrap.* file not found") + self.assertRegex(out, r"Neither a subproject directory nor a .*nosubproj.wrap.* file was found") self.assertRegex(out, r'Function does not take positional arguments.') self.assertRegex(out, r'Dependency .*somenotfounddep.* from subproject .*subprojects/somesubproj.* found: .*NO.*') self.assertRegex(out, r'Dependency .*zlibproxy.* from subproject .*subprojects.*somesubproj.* found: .*YES.*') diff --git a/test cases/failing/33 non-root subproject/test.json b/test cases/failing/33 non-root subproject/test.json index a14cece7f..52baf6a65 100644 --- a/test cases/failing/33 non-root subproject/test.json +++ b/test cases/failing/33 non-root subproject/test.json @@ -1,7 +1,7 @@ { "stdout": [ { - "line": "test cases/failing/33 non-root subproject/some/meson.build:1:0: ERROR: Subproject directory not found and someproj.wrap file not found" + "line": "test cases/failing/33 non-root subproject/some/meson.build:1:0: ERROR: Neither a subproject directory nor a someproj.wrap file was found." } ] } diff --git a/test cases/failing/78 subproj dependency not-found and required/test.json b/test cases/failing/78 subproj dependency not-found and required/test.json index 534b4f472..a89c0eb7d 100644 --- a/test cases/failing/78 subproj dependency not-found and required/test.json +++ b/test cases/failing/78 subproj dependency not-found and required/test.json @@ -1,7 +1,7 @@ { "stdout": [ { - "line": "test cases/failing/78 subproj dependency not-found and required/meson.build:2:0: ERROR: Subproject directory not found and missing.wrap file not found" + "line": "test cases/failing/78 subproj dependency not-found and required/meson.build:2:0: ERROR: Neither a subproject directory nor a missing.wrap file was found." } ] } |
