bstringify 0.1.2

stringify! that yields byte string literals instead
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use ::bstringify::bstringify;

#[test]
fn basic ()
{
    assert_eq!(
        bstringify!(Hello, World),
        stringify!(Hello, World).as_bytes(),
    )
}

#[test]
fn within_a_match ()
{
    assert!(matches!(&[][..], bstringify!()));
}