-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: "nice-dev-refs" | ||
title: "Nice Developer References" | ||
description: Takes URLs from the clipboard and pastes them as nice links | ||
version: 0.22.1 | ||
version: 0.23.0 | ||
author: Raphael Reitzig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from assertpy import assert_that | ||
|
||
from label_for_url import determine_label | ||
|
||
|
||
def test_should_mailto() -> None: | ||
# Given: | ||
url = "mailto:[email protected]" | ||
|
||
# When: | ||
label = determine_label(url) | ||
|
||
# Then: | ||
assert_that(label).is_equal_to("[email protected]") |