()
| 42 | |
| 43 | #[test] |
| 44 | fn test_device_linux() { |
| 45 | let device = Device::linux("sandbox-abc123"); |
| 46 | let json = serde_json::to_value(&device).unwrap(); |
| 47 | assert_eq!(json["hostname"], "sandbox-abc123"); |
| 48 | assert_eq!(json["os"]["name"], "Linux"); |
| 49 | } |
| 50 | } |
nothing calls this directly
no outgoing calls
no test coverage detected