Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add email and phone functions to template evaluation test.

  • Loading branch information...
commit 77606c5af0e2f88cb909aa5bb832bcf020482ce7 1 parent 73ce134
Cliffano Subagio authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 test/worker.js
4 test/worker.js
@@ -262,7 +262,7 @@ describe('worker', function () {
262 262 mocks.stream_on_open = [];
263 263 worker = new (create(checks, mocks))(333);
264 264 worker.write({
265   - header: '{first_name()} {last_name()}',
  265 + header: '{first_name()} {last_name()}{email()}{phone()}{phone(\'#######\')}',
266 266 segment: '{integer()}{integer(10, 20)}{float()}{float(10.0, 20.0)}{date()}{date(\'yyyy-mm-dd\')}{select()}{select(\'foo\', \'bar\')}',
267 267 footer: '{word()} {word(10)}'
268 268 }, '12345', 2, 'somedatafile', function () {
@@ -329,4 +329,4 @@ describe('worker', function () {
329 329 });
330 330 });
331 331 });
332   -
  332 +

0 comments on commit 77606c5

Please sign in to comment.
Something went wrong with that request. Please try again.