Skip to content

Commit

Permalink
Fix deno test
Browse files Browse the repository at this point in the history
  • Loading branch information
narze committed Sep 2, 2024
1 parent 4757560 commit a1c7e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deno/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { assertEquals } from 'jsr:@std/assert@1';
import Baht from '../src/index.ts';

function assertBaht(value: number, expected: string) {
console.log(`${value} -> ${Baht.convert(value)} (Expected: ${expected})`);
assertEquals(Baht.convert(value), expected);
console.log(`${value} -> ${Baht(value)} (Expected: ${expected})`);
assertEquals(Baht(value), expected);
}

Deno.test('Baht.js works on Deno', () => {
Expand Down

0 comments on commit a1c7e56

Please sign in to comment.