Skip to content

Commit

Permalink
Maybe stripping half of the fixture helps
Browse files Browse the repository at this point in the history
  • Loading branch information
f-f committed Sep 28, 2024
1 parent caa7dc0 commit 70dfb53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,3 @@ Reading Spago workspace configuration...
Downloading dependencies...
Cloning <library-repo-path>
Building...
purs compile...
purs compile...
purs compile...
purs compile...
purs compile...
Src Lib All
Warnings 0 0 0
Errors 0 0 0

✓ Build succeeded.
2 changes: 1 addition & 1 deletion test/Spago/Build/Monorepo.purs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ spec = Spec.describe "monorepo" do
, result
, sanitize:
String.replaceAll (String.Pattern libRepo) (String.Replacement "<library-repo-path>")
>>> Regex.replace (unsafeFromRight $ Regex.regex "^purs compile: .*$" (Regex.Flags.global <> Regex.Flags.multiline)) "purs compile..."
>>> Regex.replace (unsafeFromRight $ Regex.regex "Building...[\\s\\S]*" (Regex.Flags.global <> Regex.Flags.multiline)) "Building..."
>>> String.trim
}

Expand Down

0 comments on commit 70dfb53

Please sign in to comment.