-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(term): change unreferenced value in insta test
- Loading branch information
Showing
3 changed files
with
112 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
...erm/src/cli/command/snapshots/synd_term__cli__command__import__tests__import_usecase.snap
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,9 @@ | ||
--- | ||
source: crates/synd_term/src/cli/command/import.rs | ||
description: import command output | ||
expression: buf | ||
--- | ||
OK MUST rust https://ok1.ymgyt.io/feed.xml | ||
ERROR https://err_unavailable.ymgyt.io/feed.xml server return 500 error | ||
OK SHOULD longcategory https://ok2.ymgyt.io/feed.xml | ||
2/3 feeds successfully subscribed |
102 changes: 102 additions & 0 deletions
102
...s/synd_term/src/config/snapshots/synd_term__config__file__tests__deserialized_config.snap
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,102 @@ | ||
--- | ||
source: crates/synd_term/src/config/file.rs | ||
expression: config | ||
--- | ||
ConfigFile { | ||
cache: Some( | ||
CacheEntry { | ||
directory: Some( | ||
"/tmp/synd/cache", | ||
), | ||
}, | ||
), | ||
log: Some( | ||
LogEntry { | ||
path: Some( | ||
"/tmp/synd/synd.log", | ||
), | ||
}, | ||
), | ||
theme: Some( | ||
ThemeEntry { | ||
name: Some( | ||
Ferra, | ||
), | ||
}, | ||
), | ||
api: Some( | ||
ApiEntry { | ||
endpoint: Some( | ||
Url { | ||
scheme: "https", | ||
cannot_be_a_base: false, | ||
username: "", | ||
password: None, | ||
host: Some( | ||
Domain( | ||
"api.syndicationd.ymgyt.io", | ||
), | ||
), | ||
port: None, | ||
path: "/", | ||
query: None, | ||
fragment: None, | ||
}, | ||
), | ||
timeout: Some( | ||
30s, | ||
), | ||
}, | ||
), | ||
feed: Some( | ||
FeedEntry { | ||
entries_limit: Some( | ||
100, | ||
), | ||
browser: Some( | ||
FeedBrowserEntry { | ||
command: Some( | ||
"w3m", | ||
), | ||
args: Some( | ||
[ | ||
"--foo", | ||
"--bar", | ||
], | ||
), | ||
}, | ||
), | ||
}, | ||
), | ||
github: Some( | ||
GithubEntry { | ||
enable: Some( | ||
true, | ||
), | ||
pat: Some( | ||
"ghp_xxxx", | ||
), | ||
}, | ||
), | ||
categories: Some( | ||
{ | ||
"rust": Entry { | ||
icon: Icon { | ||
symbol: "S", | ||
color: Some( | ||
IconColor { | ||
rgb: Some( | ||
16206848, | ||
), | ||
name: None, | ||
color: None, | ||
}, | ||
), | ||
}, | ||
aliases: [ | ||
"rs", | ||
], | ||
}, | ||
}, | ||
), | ||
} |
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