Codebase list liblog-dispatchouli-perl / 6c435f3
Fix tests when JSON::XS is missing JSON::PP doesn't add a space after the comma even when space_after is set, so handle either case. Dagfinn Ilmari Mannsåker authored 10 years ago Ricardo Signes committed 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2727 ok -r $log_file, 'log file with ident name';
2828
2929 like slurp_file($log_file),
30 qr/^.+? \[$$\] point: \{\{\{("[xy]": [12](, )?){2}\}\}\}$/,
30 qr/^.+? \[$$\] point: \{\{\{("[xy]": [12](, ?)?){2}\}\}\}$/,
3131 'logged timestamp, pid, and hash';
3232 }
3333