expect-dialog 1.0.1

A simple utility for error handling that uses a dialog for it's notification as opposed to just stdout
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(test)]

use crate::ExpectDialog;

#[test]
#[should_panic]
fn test_compile() {
    let opt: Option<i32> = None;
    opt.expect_dialog("This should not make a dialog, but still print to stderr");
}