Skip to content

Commit 85c00d1

Browse files
dtopuzovNatalia-Hristova
authored and
Natalia-Hristova
committed
test: test for nativescript-cli/issues/2727
Add test for NativeScript/nativescript-cli#2727
1 parent 20160f2 commit 85c00d1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/build/common/create_tests.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from core.npm.npm import Npm
1111
from core.osutils.file import File
1212
from core.osutils.folder import Folder
13-
from core.settings.settings import TAG
1413
from core.tns.tns import Tns
1514
from core.tns.tns_verifications import TnsAsserts
1615

@@ -190,3 +189,11 @@ def test_404_create_project_with_template_and_ng(self):
190189
update_modules=False)
191190
assert "successfully created" not in output
192191
assert "requires non-empty value" in output
192+
193+
def test_405_create_app_with_space_without_quotes(self):
194+
"""Create project with space without quotes."""
195+
196+
# Test for https://github.com/NativeScript/nativescript-cli/issues/2727
197+
output = Tns.run_tns_command("create fake fake")
198+
assert "The parameter fake is not valid for this command" in output
199+
assert "# tns create" in output

0 commit comments

Comments
 (0)