summaryrefslogtreecommitdiff
path: root/test/t/test_sh.py
blob: f49a16858075246474db496cd94884d811da8536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import pytest


class TestSh:
    @pytest.mark.complete("sh -")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("sh +")
    def test_2(self, completion):
        assert completion

    @pytest.mark.complete("sh -o ")
    def test_3(self, completion):
        assert completion

    @pytest.mark.complete("sh -c ")
    def test_4(self, completion):
        assert not completion