You are here

public function FeedsTamperSprintfTestCase::test in Feeds Tamper 7

File

tests/feeds_tamper_plugins.test, line 922
Unit tests for feeds tamper plugins.

Class

FeedsTamperSprintfTestCase
Tests for sprintf.inc

Code

public function test() {
  $this
    ->execute('abc0123def', 'abc0123def', array(
    'format' => '%s',
  ));
  $this
    ->execute('0123', '00000123', array(
    'format' => '%08d',
  ));
  $this
    ->execute('65', 'A', array(
    'format' => '%c',
  ));
}