update test to newer API

This commit is contained in:
Andrew Kelley 2020-02-28 19:05:14 -05:00
parent 7e3bb00a0e
commit 4bc893c346
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -754,7 +754,7 @@ test "CrossTarget.parse" {
});
std.testing.expect(cross_target.cpu_arch.? == .aarch64);
std.testing.expect(cross_target.cpu_model == null);
std.testing.expect(cross_target.cpu_model == .native);
}
{
const cross_target = try CrossTarget.parse(.{ .arch_os_abi = "native" });