MCPcopy Create free account
hub / github.com/bootc-dev/bootc / assert_cmdline_eq

Function assert_cmdline_eq

crates/lib/src/bootc_kargs.rs:270–273  ·  view source on GitHub ↗
(cmdline: &Cmdline, expected_params: &[&str])

Source from the content-addressed store, hash-verified

268 use super::*;
269
270 fn assert_cmdline_eq(cmdline: &Cmdline, expected_params: &[&str]) {
271 let actual_params: Vec<_> = cmdline.iter_str().collect();
272 assert_eq!(actual_params, expected_params);
273 }
274
275 #[test]
276 /// Verify that kargs are only applied to supported architectures

Callers 3

test_archFunction · 0.85
test_get_kargs_in_rootFunction · 0.85
test_get_kargs_in_ostreeFunction · 0.85

Calls 1

iter_strMethod · 0.80

Tested by 3

test_archFunction · 0.68
test_get_kargs_in_rootFunction · 0.68
test_get_kargs_in_ostreeFunction · 0.68