Skip to content

Commit

Permalink
Revert "Revise test script"
Browse files Browse the repository at this point in the history
This reverts commit 4c76a52.

Reverting the change to the test script. This change was trying
to be more precise about when to replace the author text in
the comment. However, the interaction between CI and the
pattern matching does not work as expected. Reverting to the
less precise pattern. This pattern should work, because the
script is called only when the author needs to be replaced.
  • Loading branch information
bocchino committed Dec 11, 2023
1 parent 4c76a52 commit 8c283d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/scripts/test-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ remove_path_prefix()
# Remove local author
remove_author()
{
sed 's;^// \\author '$USER';// \\author [user name];'
sed 's;^// \\author .*;// \\author [user name];'
}

# Run a test
Expand Down

0 comments on commit 8c283d2

Please sign in to comment.