Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add email and phone functions to template evaluation test.

  • Loading branch information...
commit 77606c5af0e2f88cb909aa5bb832bcf020482ce7 1 parent 73ce134
Cliffano Subagio authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/worker.js
4 test/worker.js
View
@@ -262,7 +262,7 @@ describe('worker', function () {
mocks.stream_on_open = [];
worker = new (create(checks, mocks))(333);
worker.write({
- header: '{first_name()} {last_name()}',
+ header: '{first_name()} {last_name()}{email()}{phone()}{phone(\'#######\')}',
segment: '{integer()}{integer(10, 20)}{float()}{float(10.0, 20.0)}{date()}{date(\'yyyy-mm-dd\')}{select()}{select(\'foo\', \'bar\')}',
footer: '{word()} {word(10)}'
}, '12345', 2, 'somedatafile', function () {
@@ -329,4 +329,4 @@ describe('worker', function () {
});
});
});
-
+
Please sign in to comment.
Something went wrong with that request. Please try again.