21 lines
710 B
Rust
21 lines
710 B
Rust
/*
|
|
* Copyright (C) 2026 Mateusz Gruszczyński @linuxiarz.pl
|
|
* Source-Available Code / Dual-Licensed.
|
|
*
|
|
* Free for non-commercial and evaluation use under terms of BSL/GPLv3.
|
|
* Commercial or production use requires a valid paid license.
|
|
* See LICENSE file in repository root for details.
|
|
*/
|
|
|
|
use super::startup_credential;
|
|
|
|
#[test]
|
|
fn startup_credential_contains_product_identity() {
|
|
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")
|
|
);
|
|
}
|