@@ -106,6 +106,60 @@ def test_paste_does_not_expand_macros() -> None:
106106 passing_test (["paste-src" ], "paste-expected" )
107107
108108
109+ def test_path_with_arguments_gives_an_error () -> None :
110+ with chdir (tests_dir ):
111+ failing_test (
112+ [os .getcwd ()],
113+ "$path does not take arguments" ,
114+ "path-arg.nancy.txt" ,
115+ )
116+
117+
118+ def test_path_with_input_gives_an_error () -> None :
119+ with chdir (tests_dir ):
120+ failing_test (
121+ [os .getcwd ()],
122+ "$path does not take an input" ,
123+ "path-input.nancy.txt" ,
124+ )
125+
126+
127+ def test_realpath_with_arguments_gives_an_error () -> None :
128+ with chdir (tests_dir ):
129+ failing_test (
130+ [os .getcwd ()],
131+ "$realpath does not take arguments" ,
132+ "realpath-arg.nancy.txt" ,
133+ )
134+
135+
136+ def test_realpath_with_input_gives_an_error () -> None :
137+ with chdir (tests_dir ):
138+ failing_test (
139+ [os .getcwd ()],
140+ "$realpath does not take an input" ,
141+ "realpath-input.nancy.txt" ,
142+ )
143+
144+
145+ def test_outputpath_with_arguments_gives_an_error () -> None :
146+ with chdir (tests_dir ):
147+ failing_test (
148+ [os .getcwd ()],
149+ "$outputpath does not take arguments" ,
150+ "outputpath-arg.nancy.txt" ,
151+ )
152+
153+
154+ def test_outputpath_with_input_gives_an_error () -> None :
155+ with chdir (tests_dir ):
156+ failing_test (
157+ [os .getcwd ()],
158+ "$outputpath does not take an input" ,
159+ "outputpath-input.nancy.txt" ,
160+ )
161+
162+
109163def test_include_with_no_arguments_gives_an_error () -> None :
110164 with chdir (tests_dir ):
111165 failing_test (
0 commit comments