sample_program

Function sample_program 

Source
pub fn sample_program(filename: &str) -> String
Expand description

Sample program from file. filename File name.

use hamcrest::{assert_that, equal_to, is, HamcrestMatcher};
use fsl::sample_program::sample_program;
assert_that!(sample_program("me.fsl").as_str(), is(equal_to("me: @jeff\n")))