Giter VIP home page Giter VIP logo

docknot's People

Contributors

dependabot[bot] avatar rra avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

docknot's Issues

t/spin/errors.t fails

The test suite fails on some of my smoker systems:

#   Failed test 'errors are correct'
#   at t/spin/errors.t line 46.
#          got: 'errors.th:1: cannot find argument 2: Did not find opening bracket after prefix: "(?^:\G\s*)", detected at offset 2
# errors.th:3: invalid macro placeholder \2 (greater than 1)
# errors.th:5: invalid macro argument count for \badcount
# errors.th:9: unknown variable \=UNKNOWN
# errors.th:11: unknown command or macro \unknown
# errors.th:14: space in anchor "#foo bar"
# errors.th:15: no package release information available
# errors.th:16: no sitemap file found
# errors.th:17: no package version information available
# errors.th:17: cannot stat file nonexistent-file
# '
#     expected: 'errors.th:1: cannot find argument 2: Did not find opening bracket after prefix: "\s*", detected at offset 2
# errors.th:3: invalid macro placeholder \2 (greater than 1)
# errors.th:5: invalid macro argument count for \badcount
# errors.th:9: unknown variable \=UNKNOWN
# errors.th:11: unknown command or macro \unknown
# errors.th:14: space in anchor "#foo bar"
# errors.th:15: no package release information available
# errors.th:16: no sitemap file found
# errors.th:17: no package version information available
# errors.th:17: cannot stat file nonexistent-file
# '
# Looks like you failed 1 test of 2.
t/spin/errors.t ............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 

Test failures (with non-English locales?)

On some of my smoker systems I see test failures:

# --- /usr/home/cpansand/.cpan/build/2021091405/App-DocKnot-5.00-2/t/data/spin/output/changes.html	2021-09-12 18:42:17.000000000 +0000
# +++ /var/tmp/cpansmoker-1023/2021091405/GJLCfLhXuK	2021-09-14 05:38:56.180811000 +0000
# @@ -100,7 +100,7 @@
#  </p></dd>
#  </dl>
#  
# -<h2>July 2021</h2>
# +<h2>Juli 2021</h2>
#  
#  <dl>
#  <dt>2021-07-31 &mdash;
# @@ -131,7 +131,7 @@
#  </p></dd>
#  </dl>
#  
# -<h2>June 2021</h2>
# +<h2>Juni 2021</h2>
#  
... (etc) ...
#   Failed test 'spin (changes.html)'
#   at t/lib/Test/RRA.pm line 101.
# --- /usr/home/cpansand/.cpan/build/2021091405/App-DocKnot-5.00-2/t/data/spin/output/changes.rss	2021-09-12 18:42:17.000000000 +0000
# +++ /var/tmp/cpansmoker-1023/2021091405/gy16K19_Jv	2021-09-14 05:38:56.190381000 +0000
# @@ -5,8 +5,8 @@
#      <link>https://www.eyrie.org/~eagle/</link>
#      <description>Recent changes to Russ Allbery's web pages.</description>
#      <language>en-us</language>
# -    <pubDate>%DATE%</pubDate>
# -    <lastBuildDate>%DATE%</lastBuildDate>
# +    <pubDate>Mo., 30 Aug. 2021 21:25:00 +0000</pubDate>
# +    <lastBuildDate>Di., 14 Sep. 2021 05:38:55 +0000</lastBuildDate>
#      <generator>DocKnot %VERSION%</generator>
#      <atom:link href="https://www.eyrie.org/~eagle/changes.rss" rel="self"
#                 type="application/rss+xml" />
... (etc) ...
#  
#        ]]></description>
# -      <pubDate>%DATE%</pubDate>
# +      <pubDate>Sa., 13 Aug. 2011 00:09:00 +0000</pubDate>
#        <guid>https://www.eyrie.org/~eagle/journal/2011-08/006.html</guid>
#      </item>
#    </channel>

#   Failed test 'spin (journal/debian.rss)'
#   at t/lib/Test/RRA.pm line 101.
# Looks like you failed 5 tests of 25.
t/cli/spin.t ................ 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/25 subtests 
... (etc) ...

Statistical analysis suggests that this happens if a non-English locale is set (negative theta means "bad"):

****************************************************************
Regression 'env:LC_ALL'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	23540687588242928.00
[1='eq_C']     	      0.0000	      0.0000	   1.93
[2='eq_de_DE.ISO8859-1']	     -1.0000	      0.0000	-11693663213727160.00
[3='eq_de_DE.UTF-8']	     -1.0000	      0.0000	-15149331704171130.00
[4='eq_en_US.UTF-8']	      0.0000	      0.0000	   0.56

R^2= 1.000, N= 128, K= 5
****************************************************************

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.