Commit 5f751d43 authored by Iain Lane's avatar Iain Lane Committed by Michael Terry

disk-small test: Use ErrorRegex and match any whitespace

GLib 3da40e90366820b1dd75769a67a3cbe2098334b7 (2.59.1) introduced the
use of non-breaking spaces between the size and units when using
g_format_size(). We were checking for a normal space only, so this test
started failing.

Use a regular expression and match any kind of whitespace there.
parent 74fa87f8
......@@ -4,7 +4,7 @@
[Operation]
Type=backup
Success=false
Error=Backup location is too small. Try using one with at least 1000.0 TB.
ErrorRegex=Backup location is too small\\. Try using one with at least 1000.0\\sTB\\.
[Duplicity]
Runs=status;dry;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment