1 // Copyright (c) 2012-2016 The go-diff authors. All rights reserved.
2 // https://github.com/sergi/go-diff
3 // See the included LICENSE file for license details.
5 // go-diff is a Go implementation of Google's Diff, Match, and Patch library
6 // Original library is Copyright (c) 2006 Google Inc.
7 // http://code.google.com/p/google-diff-match-patch/
15 const testdataPath = "../testdata/"
17 func speedtestTexts() (s1 string, s2 string) {
18 d1, err := ioutil.ReadFile(testdataPath + "speedtest1.txt")
22 d2, err := ioutil.ReadFile(testdataPath + "speedtest2.txt")
27 return string(d1), string(d2)