martinheidegger/i18n-core

View on GitHub
test/vsprintfSimple.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict'
var test = require('tap').test
var render = require('../lib/vsprintfSimple')

test('Simple argument replacement', function (t) {
  t.equals(render('hello %s', ['world']), 'hello world')
  t.end()
})