You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Rust skeptic for managing my snippets for SOME. I was creating a snippet like this:
fnmain(){// The contents of file.txt is "Hello world!"let str_from_file = include_str!("file.txt");assert_eq!(str_from_file, "Hello world!");}
And I Couldn't get it to work because file.txt wasn't available at compile time.
How would I add external files that are supposed to be compiled into the tests? This is super useful for Internationalization like Fluent and Template libraries like Tera.
The text was updated successfully, but these errors were encountered:
I use Rust skeptic for managing my snippets for SOME. I was creating a snippet like this:
And I Couldn't get it to work because
file.txt
wasn't available at compile time.How would I add external files that are supposed to be compiled into the tests? This is super useful for Internationalization like Fluent and Template libraries like Tera.
The text was updated successfully, but these errors were encountered: