Giter Club home page Giter Club logo

Comments (1)

jbboehr avatar jbboehr commented on July 18, 2024
PHPUnit 4.5.0 by Sebastian Bergmann and contributors.

Configuration read from /home/mansairaku/Code/handlebars.php/phpunit.xml.dist

F....................................E.E..F....................  63 / 318 ( 19%)
.FFF...................................F..F..F....F............ 126 / 318 ( 39%)
FF.F...FF...FF................................................. 189 / 318 ( 59%)
...............F......................................E...E.... 252 / 318 ( 79%)
................I.............................................. 315 / 318 ( 99%)
...

Time: 12.9 seconds, Memory: 26.40Mb

There were 4 errors:

1) Handlebars\Tests\Spec\VM\HandlebarsBasicTest::testDepthedFunctionsWithContextArgumentBasicContext1
Handlebars\RuntimeException: Helper missing: ../awesome

/home/mansairaku/Code/handlebars.php/src/Builtins.php:141
/home/mansairaku/Code/handlebars.php/src/VM.php:593
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:354
/home/mansairaku/Code/handlebars.php/src/Builtins.php:192
/home/mansairaku/Code/handlebars.php/src/VM.php:604
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:153
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBasicTest.php:16
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBasicTest.php:3485

2) Handlebars\Tests\Spec\VM\HandlebarsBasicTest::testDepthedBlockFunctionsWithContextArgumentBasicContext1
Handlebars\RuntimeException: Helper missing: ../awesome

/home/mansairaku/Code/handlebars.php/src/Builtins.php:141
/home/mansairaku/Code/handlebars.php/src/VM.php:593
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:354
/home/mansairaku/Code/handlebars.php/src/Builtins.php:192
/home/mansairaku/Code/handlebars.php/src/VM.php:604
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:153
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBasicTest.php:16
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBasicTest.php:3828

3) Handlebars\Tests\Spec\VM\HandlebarsStringParamsTest::testWhenInsideABlockInStringModePassesTheAppropriateContextInTheOptionsHashStringParamsMode1
Undefined index: need

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:322
/home/mansairaku/Code/handlebars.php/src/VM.php:593
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:354
/home/mansairaku/Code/handlebars.php/src/Options.php:67
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:328
/home/mansairaku/Code/handlebars.php/src/VM.php:604
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:153
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:16
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:511

4) Handlebars\Tests\Spec\VM\HandlebarsStringParamsTest::testWhenInsideABlockInStringModePassesTheAppropriateContextInTheOptionsHashToABlockHelperStringParamsMode1
Undefined index: need

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:1107
/home/mansairaku/Code/handlebars.php/src/VM.php:593
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:354
/home/mansairaku/Code/handlebars.php/src/Options.php:67
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:1115
/home/mansairaku/Code/handlebars.php/src/VM.php:604
/home/mansairaku/Code/handlebars.php/src/VM.php:252
/home/mansairaku/Code/handlebars.php/src/VM.php:221
/home/mansairaku/Code/handlebars.php/src/VM.php:153
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:16
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsStringParamsTest.php:1330

--

There were 17 failures:

1) Handlebars\Tests\Spec\Integration\HandlebarsHelpersTest::testHelperWithComplexLookupAndNestedTemplateInVMCompilerHelpers1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<a href='/root/goodbye'>Goodbye</a>'
+'<a href='/goodbye'>Goodbye</a>'

/home/mansairaku/Code/handlebars.php/tests/Spec/Integration/HandlebarsHelpersTest.php:21
/home/mansairaku/Code/handlebars.php/tests/Spec/Integration/HandlebarsHelpersTest.php:170

2) Handlebars\Tests\Spec\VM\HandlebarsBasicTest::testDepthedBlockFunctionsWithoutContextArgumentBasicContext1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'inner'
+''

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBasicTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBasicTest.php:4263

3) Handlebars\Tests\Spec\VM\HandlebarsBlocksTest::testBlockWithComplexLookupBlocks1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'goodbye cruel Alan! Goodbye cruel Alan! GOODBYE cruel Alan! '
+'goodbye cruel ! Goodbye cruel ! GOODBYE cruel ! '

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBlocksTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBlocksTest.php:1689

4) Handlebars\Tests\Spec\VM\HandlebarsBlocksTest::testMultipleBlocksWithComplexLookupBlocks1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'AlanAlanAlanAlanAlanAlan'
+''

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBlocksTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBlocksTest.php:1878

5) Handlebars\Tests\Spec\VM\HandlebarsBlocksTest::testBlockWithDeepNestedComplexLookupBlocks1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Goodbye cruel sad OMG!'
+'Goodbye cruel sad '

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBlocksTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBlocksTest.php:2178

6) Handlebars\Tests\Spec\VM\HandlebarsBuiltinsTest::testEachWithNestedIndexEach1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'0. goodbye! 0 1 2 After 0 1. Goodbye! 0 1 2 After 1 2. GOODBYE! 0 1 2 After 2 cruel world!'
+'0. goodbye! After 0 1. Goodbye! After 1 2. GOODBYE! After 2 cruel world!'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:4749

7) Handlebars\Tests\Spec\VM\HandlebarsBuiltinsTest::testEachWithNestedFirstEach1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'(goodbye! goodbye! goodbye!) (goodbye!) (goodbye!) cruel world!'
+'(goodbye!  goodbye!) () () cruel world!'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:5870

8) Handlebars\Tests\Spec\VM\HandlebarsBuiltinsTest::testEachWithNestedLastEach1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'(GOODBYE!) (GOODBYE!) (GOODBYE! GOODBYE! GOODBYE!) cruel world!'
+'() () (GOODBYE!  GOODBYE!) cruel world!'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:7025

9) Handlebars\Tests\Spec\VM\HandlebarsBuiltinsTest::testShouldLookupArbitraryContentLookup1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'foobar'
+''

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsBuiltinsTest.php:7953

10) Handlebars\Tests\Spec\VM\HandlebarsDataTest::testPassingInDataToACompiledFunctionThatExpectsDataWorksWithBlockHelpersThatUseData1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'happy world?'
+'happy ?'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:1806

11) Handlebars\Tests\Spec\VM\HandlebarsDataTest::testPassingInDataToACompiledFunctionThatExpectsDataDataIsPassedToWithBlockHelpersWhereChildrenUseData1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'#win happy world?'
+'#win happy ?'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:2022

12) Handlebars\Tests\Spec\VM\HandlebarsDataTest::testYouCanOverrideInheritedDataWhenInvokingAHelperWithDepthData1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'sad world?'
+'sad ?'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:2449

13) Handlebars\Tests\Spec\VM\HandlebarsDataTest::testTheRootContextCanBeLookedUpViaRootNesting1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2 1 0'
+'2 2 0'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsDataTest.php:2909

14) Handlebars\Tests\Spec\VM\HandlebarsHelpersTest::testHelperWithComplexLookupHelpers1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<a href='/root/goodbye'>Goodbye</a>'
+'<a href='/goodbye'>Goodbye</a>'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsHelpersTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsHelpersTest.php:217

15) Handlebars\Tests\Spec\VM\HandlebarsHelpersTest::testHelperWithComplexLookupAndNestedTemplateHelpers1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<a href='/root/goodbye'>Goodbye</a>'
+'<a href='/goodbye'>Goodbye</a>'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsHelpersTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsHelpersTest.php:931

16) Handlebars\Tests\Spec\VM\HandlebarsHelpersTest::testHelperWithComplexLookupAndNestedTemplateInVMCompilerHelpers1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<a href='/root/goodbye'>Goodbye</a>'
+'<a href='/goodbye'>Goodbye</a>'

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsHelpersTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsHelpersTest.php:1200

17) Handlebars\Tests\Spec\VM\HandlebarsPartialsTest::testPartialsWithParametersPartials1
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Dudes: barYehuda (http://yehuda) barAlan (http://alan) '
+'Dudes: Yehuda (http://yehuda) Alan (http://alan) '

/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsPartialsTest.php:17
/home/mansairaku/Code/handlebars.php/tests/Spec/VM/HandlebarsPartialsTest.php:1388

FAILURES!
Tests: 318, Assertions: 313, Failures: 17, Errors: 4, Incomplete: 1.

from handlebars.php.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.