big update in share links
This commit is contained in:
+4
-1
@@ -185,7 +185,7 @@ fn print_startup_credential() {
|
||||
|
||||
fn startup_credential() -> String {
|
||||
format!(
|
||||
"RustPad {}\nCopyright (C) 2026 Mateusz Gruszczyński @linuxiarz.pl",
|
||||
"RustPad {}\nCopyright (C) 2026 Mateusz Gruszczyński @linuxiarz.pl\nLicense: https://git.linuxiarz.pl/gru/rustpad/src/branch/master/LICENSE.md",
|
||||
env!("CARGO_PKG_VERSION")
|
||||
)
|
||||
}
|
||||
@@ -304,6 +304,9 @@ mod startup_tests {
|
||||
let credential = startup_credential();
|
||||
assert!(credential.contains(&format!("RustPad {}", env!("CARGO_PKG_VERSION"))));
|
||||
assert!(credential.contains("Mateusz Gruszczyński @linuxiarz.pl"));
|
||||
assert!(credential.contains(
|
||||
"https://git.linuxiarz.pl/gru/rustpad/src/branch/master/LICENSE.md"
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user