1 2 3 4 5 6 7 8
extern crate bear; use bear::fixture; #[test] fn test_fixture() { assert_eq!(fixture("hello.txt"), "Hello, world!\n".to_string()); }