1 2 3 4 5 6 7
extern crate macron_inputln; use macron_inputln::inputln; #[test] fn test_inputln() { let input = inputln!("Enter word 'Test': "); assert_eq!(input, "Test"); }