diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-25 18:07:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-25 18:07:36 +0300 |
commit | cdd95ddd0197b8709947c2b3b4e0333e1d9a2934 (patch) | |
tree | 31c54297728d8ddee38203e12f91a0594fa6e223 /spec/lib/gitlab/error_tracking | |
parent | d45691788ec45d0da3508c438ffdf43b08781f04 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/error_tracking')
-rw-r--r-- | spec/lib/gitlab/error_tracking/stack_trace_highlight_decorator_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/lib/gitlab/error_tracking/stack_trace_highlight_decorator_spec.rb b/spec/lib/gitlab/error_tracking/stack_trace_highlight_decorator_spec.rb index 04ef5ba516e..d553fb4848b 100644 --- a/spec/lib/gitlab/error_tracking/stack_trace_highlight_decorator_spec.rb +++ b/spec/lib/gitlab/error_tracking/stack_trace_highlight_decorator_spec.rb @@ -49,6 +49,16 @@ describe Gitlab::ErrorTracking::StackTraceHighlightDecorator do ] }, { + 'function' => 'print', + 'lineNo' => 3, + 'filename' => 'hello_world.php', + 'context' => [ + [1, '<span id="LC1" class="line" lang="hack"><span class="c1">// PHP/Hack example</span></span>'], + [2, '<span id="LC1" class="line" lang="hack"><span class="cp"><?php</span></span>'], + [3, '<span id="LC1" class="line" lang="hack"><span class="k">echo</span> <span class="s1">\'Hello, World!\'</span><span class="p">;</span></span>'] + ] + }, + { 'filename' => 'blank.txt' } ] |