From 220dd5ffa5aa2acfc67fe7e6e5af4a86c5f4a9bd Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Wed, 18 Dec 2024 15:04:49 +1000 Subject: [PATCH] Fix regex --- .../tests/testdata/grass_algorithms_imagery_tests.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/plugins/grassprovider/tests/testdata/grass_algorithms_imagery_tests.yaml b/python/plugins/grassprovider/tests/testdata/grass_algorithms_imagery_tests.yaml index 9587329ca38b..d1e86ab17889 100644 --- a/python/plugins/grassprovider/tests/testdata/grass_algorithms_imagery_tests.yaml +++ b/python/plugins/grassprovider/tests/testdata/grass_algorithms_imagery_tests.yaml @@ -384,10 +384,10 @@ tests: name: expected/i.gensig.txt type: regex rules: - - '300\s*\n(?:\d+\s*\n)7043\.06\s*\n1\.89772e\+07\s*' - - '1700\s*\n(?:\d+\s*\n)7405\.93\s*\n2\.01921e\+07\s*' - - '6000\s*\n(?:\d+\s*\n)7287\.21\s*\n1\.90221e\+07\s*' - - '7000\s*\n(?:\d+\s*\n)7246\.81\s*\n1\.90226e\+07\s*' + - '300\s*\n(?:\d+\s*\n)?7043\.06\s*\n1\.89772e\+07\s*' + - '1700\s*\n(?:\d+\s*\n)?7405\.93\s*\n2\.01921e\+07\s*' + - '6000\s*\n(?:\d+\s*\n)?7287\.21\s*\n1\.90221e\+07\s*' + - '7000\s*\n(?:\d+\s*\n)?7246\.81\s*\n1\.90226e\+07\s*' - algorithm: grass7:i.gensigset name: GRASS7 i.gensigset