Skip to content

Commit

Permalink
Fix incorrect architecture.kind specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Aug 4, 2023
1 parent 3d66acb commit 2da2f87
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions spec/architecture.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,22 @@ describe('toKind', () => {

describe('ARM64', () => {
it('returns the arm64 architecture', () => {
expect(architecture.toKind('arm64')).toBe(architecture.Kind.arm64)
expect(architecture.toKind('ARM64')).toBe(architecture.Kind.arm64)
})
})

describe('x86_64', () => {
describe('x86-64', () => {
it('returns the x86_64 architecture', () => {
expect(architecture.toKind('x86-64')).toBe(architecture.Kind.x86_64)
})
})

describe('x86_64', () => {
it('returns the x86_64 architecture', () => {
expect(architecture.toKind('x86_64')).toBe(architecture.Kind.x86_64)
})
})

describe('X64', () => {
it('returns the x86_64 architecture', () => {
expect(architecture.toKind('x64')).toBe(architecture.Kind.x86_64)
Expand All @@ -27,7 +33,7 @@ describe('toKind', () => {

describe('X86_64', () => {
it('returns the x86_64 architecture', () => {
expect(architecture.toKind('x86-64')).toBe(architecture.Kind.x86_64)
expect(architecture.toKind('X86_64')).toBe(architecture.Kind.x86_64)
})
})

Expand Down

0 comments on commit 2da2f87

Please sign in to comment.