-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Looks like maybe the tests are expecting a certain order from hash output?
zef install HTML::Tag
===> Searching for: HTML::Tag
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Searching for missing dependencies: HTML::Entity
===> Testing: HTML::Entity:auth<Alexander Moquin>
===> Testing [OK] for HTML::Entity:auth<Alexander Moquin>
===> Testing: HTML::Tag:ver<0.0.1>
# Failed test 'HTML::Tag::p.class and .id both work together'
# at t/0010-html.t line 16
# expected: '<p id="myNAME" class="MYClass">test</p>'
# got: '<p class="MYClass" id="myNAME">test</p>'
# Failed test 'HTML::Tag::input works'
# at t/0010-html.t line 49
# expected: '<input min="0" type="text" value="testval">'
# got: '<input min="0" value="testval" type="text">'
# Failed test 'HTML::Tag::img works.'
# at t/0010-html.t line 62
# expected: '<img height="150" alt="funny pic" border="0" width="100" src="/img/foo.jpg">'
# got: '<img height="150" width="100" alt="funny pic" border="0" src="/img/foo.jpg">'
# Looks like you failed 3 tests of 29
# Failed test 'HTML::Tag::Macro::Form minimal def'
# at t/0020-form.t line 22
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form autofocus'
# at t/0020-form.t line 32
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text" autofocus><input name="password" id="form-password" type="text"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text" autofocus><input name="password" id="form-password" type="text"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form with labels'
# at t/0020-form.t line 36
# expected: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" id="form-username" type="text" autofocus><label for="form-password">Password</label><input name="password" id="form-password" type="text"><label for="form-submit">Submit</label><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" id="form-username" type="text" autofocus><label for="form-password">Password</label><input name="password" id="form-password" type="text"><label for="form-submit">Submit</label><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form with labels excluding one'
# at t/0020-form.t line 47
# expected: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" id="form-username" type="text"><label for="form-password">Password</label><input name="password" id="form-password" type="text"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" id="form-username" type="text"><label for="form-password">Password</label><input name="password" id="form-password" type="text"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form with value test'
# at t/0020-form.t line 54
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text" value="mark"><input name="password" id="form-password" type="text"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" value="mark" id="form-username" type="text"><input name="password" id="form-password" type="text"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form with value test password types set no values'
# at t/0020-form.t line 68
# expected: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" id="form-username" type="text" value="mark"><label for="form-password">Password</label><input name="password" id="form-password" type="password"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" value="mark" id="form-username" type="text"><label for="form-password">Password</label><input name="password" id="form-password" type="password"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form testing before/after tags'
# at t/0020-form.t line 83
# expected: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" id="form-username" type="text" value="mark"><br><label for="form-password">Password</label><input name="password" id="form-password" type="password"><span>oofie</span><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><label for="form-username">Username</label><input name="username" value="mark" id="form-username" type="text"><br><label for="form-password">Password</label><input name="password" id="form-password" type="password"><span>oofie</span><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form input swallowing'
# at t/0020-form.t line 94
# expected: '<form method="POST" name="form" action="/"><span>oofie<label for="form-username">Username</label><input name="username" id="form-username" type="text" value="mark"></span><label for="form-password">Password</label><input name="password" id="form-password" type="password"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><span>oofie<label for="form-username">Username</label><input name="username" value="mark" id="form-username" type="text"></span><label for="form-password">Password</label><input name="password" id="form-password" type="password"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form required fields'
# at t/0020-form.t line 107
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text" required><input name="password" id="form-password" type="text"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" required id="form-username" type="text"><input name="password" id="form-password" type="text"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form using individual/normal tag attrs'
# at t/0020-form.t line 119
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" class="pink" type="text"><input name="password" id="blue" type="text"><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" class="pink" id="form-username" type="text"><input name="password" id="blue" type="text"><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form empty textarea'
# at t/0020-form.t line 132
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes"></textarea><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes"></textarea><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form textarea with text'
# at t/0020-form.t line 146
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes">I am a test</textarea><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes">I am a test</textarea><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form textarea with text overrides value'
# at t/0020-form.t line 162
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes">I am a test</textarea><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes">I am a test</textarea><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Failed test 'HTML::Tag::Macro::Form textarea values work'
# at t/0020-form.t line 177
# expected: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes">do not forget</textarea><input name="submit" id="form-submit" type="submit" value="Login"></form>'
# got: '<form method="POST" name="form" action="/"><input name="username" id="form-username" type="text"><input name="password" id="form-password" type="text"><textarea name="notes" id="form-notes">do not forget</textarea><input name="submit" value="Login" id="form-submit" type="submit"></form>'
# Looks like you failed 14 tests of 23
# Failed test 'HTML::Tag::Macro::Table works with td-opts'
# at t/0040-table.t line 40
# expected: '<table><tr><th>Col1</th><th>Col2</th><th>Col3</th></tr><tr><td>11</td><td>22</td><td>33</td></tr><tr><td>111</td><td class="pretty">222</td><td id="lastone" class="pretty">333</td></tr></table>'
# got: '<table><tr><th>Col1</th><th>Col2</th><th>Col3</th></tr><tr><td>11</td><td>22</td><td>33</td></tr><tr><td>111</td><td class="pretty">222</td><td class="pretty" id="lastone">333</td></tr></table>'
# Looks like you failed 1 test of 6
===> Testing [FAIL]: HTML::Tag:ver<0.0.1>
Metadata
Metadata
Assignees
Labels
No labels