diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-05-17 23:51:58 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-05-18 00:02:11 -0600 |
| commit | 443b46b1e948f7617675fce739b506a40333eae7 (patch) | |
| tree | 617587ce6df977f42e2bbb0f639988e81b0f7bfb | |
| parent | 13bec9c94b27231ea3ce479eeef36a71e42e9984 (diff) | |
fix example code in rouge test so it highlighted consistently across versions
| -rw-r--r-- | spec/reference/source-rouge-bg.pdf | bin | 18723 -> 19240 bytes | |||
| -rw-r--r-- | spec/source_spec.rb | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/spec/reference/source-rouge-bg.pdf b/spec/reference/source-rouge-bg.pdf Binary files differindex 2ff7d9cc..5ea44ce4 100644 --- a/spec/reference/source-rouge-bg.pdf +++ b/spec/reference/source-rouge-bg.pdf diff --git a/spec/source_spec.rb b/spec/source_spec.rb index 55f9ed88..6ee8034f 100644 --- a/spec/source_spec.rb +++ b/spec/source_spec.rb @@ -431,7 +431,7 @@ describe 'Asciidoctor::PDF::Converter - Source' do type, name = ARGV case type when :hello - puts %(Hello, #{name}!) + puts sprintf %(Hello, %s!), name when :goodbye puts 'See ya, ' + name + '!' end |
