Skip to content

Commit 12856a4

Browse files
committed
fix test
1 parent 859f378 commit 12856a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/xrpl/test/models/vaultCreate.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,10 @@ describe('VaultCreate', function () {
192192
issuer: 'rfmDuhDyLGgx94qiwf3YF8BUV5j6KSvE8',
193193
}
194194
tx.Scale = 'invalid'
195-
assertInvalid(tx, 'VaultCreate: invalid field Scale')
195+
assertInvalid(
196+
tx,
197+
'VaultCreate: invalid field Scale, expected a valid number',
198+
)
196199
})
197200

198201
it('allows no Scale for IOU asset', function () {

0 commit comments

Comments
 (0)