Factor out a toGNUCommandLine utility

... as suggested by @roberth
This commit is contained in:
Gabriel Gonzalez
2020-01-05 13:03:00 -08:00
parent 5edd4dd44c
commit 6d584c2614
2 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -460,6 +460,6 @@ runTests {
verbose = true;
};
expected = " -X 'PUT' --data '{\"id\":0}' --retry '3' --url 'https://example.com/foo' --url 'https://example.com/bar' --verbose";
expected = "'-X' 'PUT' '--data' '{\"id\":0}' '--retry' '3' '--url' 'https://example.com/foo' '--url' 'https://example.com/bar' '--verbose'";
};
}