From 0e39004f5661ad6c11e1b00026aa9d857068dbbc Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 28 Sep 2016 11:40:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=20=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base.php | 2 +- tests/thinkphp/library/think/langTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/base.php b/base.php index dcbeec7f..cc16ebc7 100644 --- a/base.php +++ b/base.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -define('THINK_VERSION', '5.0.0'); +define('THINK_VERSION', '5.0.1'); define('THINK_START_TIME', microtime(true)); define('THINK_START_MEM', memory_get_usage()); define('EXT', '.php'); diff --git a/tests/thinkphp/library/think/langTest.php b/tests/thinkphp/library/think/langTest.php index 60d1e617..360ee43d 100644 --- a/tests/thinkphp/library/think/langTest.php +++ b/tests/thinkphp/library/think/langTest.php @@ -32,7 +32,6 @@ class langTest extends \PHPUnit_Framework_TestCase $this->assertEquals('欢迎', Lang::get('hello')); $this->assertEquals('欢迎', Lang::get('HELLO')); $this->assertEquals('使用', Lang::get('use')); - $this->assertEquals(['hello' => '欢迎', 'hello,%s' => '欢迎,%s', 'use' => '使用'], Lang::get()); Lang::set('hello,{:name}', '欢迎,{:name}'); $this->assertEquals('欢迎,liu21st', Lang::get('hello,{:name}', ['name' => 'liu21st']));