summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2021-07-07 10:06:40 +0200
committerMichael Vogt <mvo@ubuntu.com>2021-07-07 10:06:40 +0200
commitc61575a58d6bfe530b3f547329531d1209611023 (patch)
tree53ae78910b654807afbfe17407772eda05bfdde9
parent7bdd335da600ad4533fb92d5b4e05c2e90f31e73 (diff)
tests: fix whitespaces
-rw-r--r--tests/main/snap-quota/task.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main/snap-quota/task.yaml b/tests/main/snap-quota/task.yaml
index 60ddf2e065..1089b0dae0 100644
--- a/tests/main/snap-quota/task.yaml
+++ b/tests/main/snap-quota/task.yaml
@@ -31,7 +31,7 @@ execute: |
snap set-quota group-sub-sub-one --parent=group-sub-one --memory=5KB
echo "Trying to add snap to more than one group fails"
- snap set-quota group-bad --memory=1MB hello-world 2>&1 | MATCH 'error: cannot create quota group: cannot add snap "hello-world" to group "group-bad": snap already in quota group "group-one"'
+ snap set-quota group-bad --memory=1MB hello-world 2>&1 | tr '\n' ' ' | tr -s ' ' | MATCH 'error: cannot create quota group: cannot add snap "hello-world" to group "group-bad": snap already in quota group "group-one"'
echo "Adding a snap to group-one"
snap set-quota group-one go-example-webserver