MCPcopy Create free account
hub / github.com/RustCrypto/utils / empty

Function empty

hex-literal/tests/basic.rs:11–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10#[test]
11fn empty() {
12 let nothing: [u8; 0] = hex!();
13 let empty_literals: [u8; 0] = hex!("" "" "");
14 let expected: [u8; 0] = [];
15 assert_eq!(nothing, expected);
16 assert_eq!(empty_literals, expected);
17}
18
19#[test]
20fn upper_case() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected