We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11fbf93 commit c2d7be9Copy full SHA for c2d7be9
tests/tests.ts
@@ -32,6 +32,13 @@ describe('String.IsNullOrWhitespace', () => {
32
33
describe('String.Format Number Pattern', () => {
34
describe('Placeholders', () => {
35
+ it('should return template if no format is found', () => {
36
+ let template = "Bar";
37
+ let valueToInsert = "Foo";
38
+ let result = String.Format(template, valueToInsert);
39
+ expect(result).to.equal(template);
40
+ });
41
+
42
it('should format the string correct', () => {
43
let template = "{0}";
44
let valueToInsert = "Foo";
0 commit comments