Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: third_party/gsutil/gslib/tests/test_cat.py

Issue 1380943003: Roll version of gsutil to 4.15. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/gsutil/gslib/tests/test_Doption.py ('k') | third_party/gsutil/gslib/tests/test_cp.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gslib/tests/test_cat.py
diff --git a/third_party/gsutil/gslib/tests/test_cat.py b/third_party/gsutil/gslib/tests/test_cat.py
index 43b0ca521a427e659d24c27a29b3ae83056aaa68..fdc2c982292614e611f2ae946f4fc4f8e002beb0 100644
--- a/third_party/gsutil/gslib/tests/test_cat.py
+++ b/third_party/gsutil/gslib/tests/test_cat.py
@@ -48,6 +48,9 @@ class TestCat(testcase.GsUtilIntegrationTestCase):
stdout = self.RunGsUtil(['cat', '-r 8-', suri(key_uri)],
return_stdout=True)
self.assertEqual('89', stdout)
+ stdout = self.RunGsUtil(['cat', '-r 0-0', suri(key_uri)],
+ return_stdout=True)
+ self.assertEqual('0', stdout)
stdout = self.RunGsUtil(['cat', '-r -3', suri(key_uri)],
return_stdout=True)
self.assertEqual('789', stdout)
« no previous file with comments | « third_party/gsutil/gslib/tests/test_Doption.py ('k') | third_party/gsutil/gslib/tests/test_cp.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698