Skip to content

Commit 821d048

Browse files
committed
add simple test, install, uninstall etc are already covered since they use the same piece of logic (ParseReference())
1 parent 16bc05e commit 821d048

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_core.py

+4
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ def test_core_download(run_command, downloads_dir):
240240
result = run_command(["core", "download", "bananas:avr"])
241241
assert result.failed
242242

243+
# Wrong casing
244+
result = run_command(["core", "download", "Arduino:[email protected]"])
245+
assert os.path.exists(os.path.join(downloads_dir, "packages", "core-ArduinoCore-samd-1.8.12.tar.bz2"))
246+
243247

244248
def _in(jsondata, name, version=None):
245249
installed_cores = json.loads(jsondata)

0 commit comments

Comments
 (0)