From b8bb2e5e4a52b76496c424a9a6b57877a73cc6cf Mon Sep 17 00:00:00 2001 From: Tadas Dailyda Date: Tue, 13 Dec 2022 16:58:09 +0200 Subject: [PATCH] cli: tests --- cli/src/__test__/parse-triple.spec.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cli/src/__test__/parse-triple.spec.ts b/cli/src/__test__/parse-triple.spec.ts index 2ab9da73..7d6bca4f 100644 --- a/cli/src/__test__/parse-triple.spec.ts +++ b/cli/src/__test__/parse-triple.spec.ts @@ -113,6 +113,16 @@ const triples = [ raw: 'armv7-linux-androideabi', }, } as const, + { + name: 'universal-apple-darwin', + expected: { + abi: null, + arch: 'universal', + platform: 'darwin', + platformArchABI: 'darwin-universal', + raw: 'universal-apple-darwin', + }, + } as const, ] for (const triple of triples) {