Commit 60307cb8 authored by Ben Gamari's avatar Ben Gamari 🐢

array: Clear up inconsistency in T9220 output

ghc-8.2 and master disagreed on the order of the instances. Normalise this
difference away.

Updates array submodule.
parent 852a43f3
Subproject commit fc82074a9076d650610d71a966d8714f5217257f
Subproject commit db07d534feb267d5f81e1301f6a0cb726c4c2ea2
......@@ -493,6 +493,13 @@ def no_check_hp(name, opts):
# ----
def filter_stdout_lines( regex ):
""" Filter lines of stdout with the given regular expression """
import re
def f( name, opts ):
_normalise_fun(name, opts, lambda s: '\n'.join(re.findall(regex, s)))
return f
def normalise_slashes( name, opts ):
_normalise_fun(name, opts, normalise_slashes_)
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