Don't run test_escape_str without $DISPLAY set
parent
7d6526dede
commit
6b15c71f83
|
@ -132,6 +132,10 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_escape_str() {
|
fn test_escape_str() {
|
||||||
|
if std::env::var("DISPLAY").is_err() {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let title: &str = "& > Title τίτλος";
|
let title: &str = "& > Title τίτλος";
|
||||||
let body: &str = "& > Body σώμα";
|
let body: &str = "& > Body σώμα";
|
||||||
notify_rust::Notification::new()
|
notify_rust::Notification::new()
|
||||||
|
|
Loading…
Reference in New Issue