add #include_bin[]
This commit is contained in:
parent
ac2faad26e
commit
0eef34bacb
3 changed files with 31 additions and 0 deletions
|
@ -17,6 +17,10 @@ fn main() {
|
|||
assert(
|
||||
#include_str["syntax-extension-source-utils-files/includeme.fragment"]
|
||||
.starts_with("/* this is for "));
|
||||
assert(
|
||||
#include_bin["syntax-extension-source-utils-files/includeme.fragment"]
|
||||
[1] == (42 as u8)); // '*'
|
||||
// The Windows tests are wrapped in an extra module for some reason
|
||||
assert(m1::m2::where_am_i().ends_with("m1::m2"));
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue