Skip to content

Commit eb182eb

Browse files
committed
Use upgraded version of asciidoctor (v1.5.5) in gems tests
1 parent 998bb18 commit eb182eb

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

test/truffle/gems/asciidoctor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source test/truffle/common.sh.inc
44

55
gem_test_pack=$(jt gem-test-pack)
66

7-
jt ruby "$gem_test_pack"/gems/gems/asciidoctor-1.5.4/bin/asciidoctor --attribute last-update-label!= test/truffle/gems/asciidoctor/userguide.adoc
7+
jt ruby "$gem_test_pack"/gems/gems/asciidoctor-1.5.5/bin/asciidoctor --attribute last-update-label!= test/truffle/gems/asciidoctor/userguide.adoc
88

99
if ! cmp --silent test/truffle/gems/asciidoctor/userguide.html test/truffle/gems/asciidoctor/userguide-expected.html
1010
then

test/truffle/gems/asciidoctor/userguide-expected.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="generator" content="Asciidoctor 1.5.4">
7+
<meta name="generator" content="Asciidoctor 1.5.5">
88
<meta name="author" content="Stuart Rackham">
99
<title>AsciiDoc User Guide</title>
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
@@ -18,7 +18,6 @@
1818
[hidden],template{display:none}
1919
script{display:none!important}
2020
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
21-
body{margin:0}
2221
a{background:transparent}
2322
a:focus{outline:thin dotted}
2423
a:active,a:hover{outline:0}
@@ -53,7 +52,7 @@
5352
table{border-collapse:collapse;border-spacing:0}
5453
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
5554
html,body{font-size:100%}
56-
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto}
55+
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
5756
a:hover{cursor:pointer}
5857
img,object,embed{max-width:100%;height:auto}
5958
object,embed{height:100%}
@@ -65,7 +64,6 @@
6564
.text-center{text-align:center!important}
6665
.text-justify{text-align:justify!important}
6766
.hide{display:none}
68-
body{-webkit-font-smoothing:antialiased}
6967
img,object,svg{display:inline-block;vertical-align:middle}
7068
textarea{height:auto;min-height:50px}
7169
select{width:100%}
@@ -120,13 +118,16 @@
120118
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
121119
table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7}
122120
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}
123-
body{tab-size:4}
124121
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
125122
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
126123
.clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table}
127124
.clearfix:after,.float-group:after{clear:both}
128-
*:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
125+
*:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed;word-wrap:break-word}
126+
*:not(pre)>code.nobreak{word-wrap:normal}
127+
*:not(pre)>code.nowrap{white-space:nowrap}
129128
pre,pre>code{line-height:1.45;color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;text-rendering:optimizeSpeed}
129+
em em{font-style:normal}
130+
strong strong{font-weight:400}
130131
.keyseq{color:rgba(51,51,51,.8)}
131132
kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em white inset;box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em #fff inset;margin:0 .15em;padding:.2em .5em;vertical-align:middle;position:relative;top:-.1em;white-space:nowrap}
132133
.keyseq kbd:first-child{margin-left:0}

0 commit comments

Comments
 (0)