Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ed0f442

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎test/test_core.py‎

Lines changed: 4 additions & 0 deletions
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:Samd@1.8.12"])
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)

AltStyle によって変換されたページ (->オリジナル) /