...

Source file src/github.com/henvic/httpretty/long_test.go

Documentation: github.com/henvic/httpretty

     1  package httpretty
     2  
     3  import (
     4  	"io/ioutil"
     5  )
     6  
     7  // from http://bastiat.org/fr/petition.html
     8  var petition = func() string {
     9  	content, err := ioutil.ReadFile("testdata/petition.golden")
    10  	if err != nil {
    11  		panic(err)
    12  	}
    13  
    14  	return string(content)
    15  }()
    16  

View as plain text