summaryrefslogtreecommitdiff
path: root/test/t/test_curl.py
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:13 -0300
commit95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch)
treeea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /test/t/test_curl.py
parent019f3cc463db63abc6460f97deb488deec43840b (diff)
downloadbash-completion-upstream.tar.gz
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'test/t/test_curl.py')
-rw-r--r--test/t/test_curl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/t/test_curl.py b/test/t/test_curl.py
index ebccca95..63e969f9 100644
--- a/test/t/test_curl.py
+++ b/test/t/test_curl.py
@@ -8,11 +8,11 @@ class TestCurl:
@pytest.mark.complete("curl -o f", cwd="shared/default/foo.d")
def test_2(self, completion):
- assert completion == "foo"
+ assert completion == "oo"
@pytest.mark.complete("curl -LRo f", cwd="shared/default/foo.d")
def test_3(self, completion):
- assert completion == "foo"
+ assert completion == "oo"
@pytest.mark.complete("curl --o f")
def test_4(self, completion):
@@ -20,9 +20,9 @@ class TestCurl:
@pytest.mark.complete("curl --data @", cwd="shared/default/foo.d")
def test_data_atfile(self, completion):
- assert completion == "@foo"
+ assert completion == "foo"
@pytest.mark.complete("curl --data @foo.", cwd="shared/default")
def test_data_atfile_dir(self, completion):
- assert completion == "@foo.d/"
+ assert completion == "d/"
assert not completion.endswith(" ")