Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-25 18:07:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-25 18:07:36 +0300
commitcdd95ddd0197b8709947c2b3b4e0333e1d9a2934 (patch)
tree31c54297728d8ddee38203e12f91a0594fa6e223 /spec/factories/error_tracking
parentd45691788ec45d0da3508c438ffdf43b08781f04 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/error_tracking')
-rw-r--r--spec/factories/error_tracking/error_event.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/error_tracking/error_event.rb b/spec/factories/error_tracking/error_event.rb
index c4dcd67bc9f..1590095f1bd 100644
--- a/spec/factories/error_tracking/error_event.rb
+++ b/spec/factories/error_tracking/error_event.rb
@@ -36,6 +36,16 @@ FactoryBot.define do
]
},
{
+ 'function' => 'print',
+ 'lineNo' => 3,
+ 'filename' => 'hello_world.php',
+ 'context' => [
+ [1, "// PHP/Hack example\n"],
+ [2, "<?php\n"],
+ [3, "echo 'Hello, World!';\n"]
+ ]
+ },
+ {
'filename' => 'blank.txt'
}
]