From 7973744439603b8e7b5d04cfde70a019a1a3f1e3 Mon Sep 17 00:00:00 2001
From: Anand Kumria <akumria@acm.org>
Date: Sat, 22 Nov 2014 16:53:36 +0000
Subject: [PATCH 2/3] Actually read the big5 strings and return them
---
tests/phpunit/tests/formatting/SeemsUtf8.php | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/phpunit/tests/formatting/SeemsUtf8.php b/tests/phpunit/tests/formatting/SeemsUtf8.php
index 34da81c..6727f2c 100644
|
a
|
b
|
class Tests_Formatting_SeemsUtf8 extends WP_UnitTestCase { |
| 40 | 40 | |
| 41 | 41 | function big5_strings() { |
| 42 | 42 | // Get data from formatting/big5.txt |
| 43 | | return array( array( 'incomplete' ) ); |
| | 43 | $big5_strings = file( DIR_TESTDATA . '/formatting/big5.txt' ); |
| | 44 | foreach ( $big5_strings as &$string ) { |
| | 45 | $string = (array) trim( $string ); |
| | 46 | } |
| | 47 | unset( $string ); |
| | 48 | return $big5_strings; |
| 44 | 49 | } |
| 45 | 50 | } |
| 46 | 51 | |