aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go')
-rw-r--r--vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go b/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go
index 783e7964a..4d9c237ad 100644
--- a/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go
+++ b/vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go
@@ -21,12 +21,6 @@ type TableEntry struct {
}
func (t TableEntry) generateIt(itBody reflect.Value) {
- if t.codeLocation == (types.CodeLocation{}) {
- // The user created the TableEntry struct directly instead of having used the (F/P/X)Entry constructors.
- // Therefore default to the code location of the surrounding DescribeTable.
- t.codeLocation = codelocation.New(5)
- }
-
var description string
descriptionValue := reflect.ValueOf(t.Description)
switch descriptionValue.Kind() {