Skip to content

Commit

Permalink
Don't expect what newlines look like - never works on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimingham committed Mar 24, 2023
1 parent 1c43be0 commit 0999996
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -76,6 +76,7 @@ def test_backticks_in_raw_cmd(self):
interp = self.dbg.GetCommandInterpreter()
interp.HandleCommand(f"script {argc_value} - `argc`", result)
self.assertTrue(result.Succeeded(), "Command succeeded")
self.assertEqual("0\n", result.GetOutput(), "Substitution worked")
fixed_output = result.GetOutput().rstrip()
self.assertEqual("0", fixed_output, "Substitution worked")


0 comments on commit 0999996

Please sign in to comment.