You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
329 B
Go
24 lines
329 B
Go
package httpreverse
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestReverseParse(t *testing.T) {
|
|
data, err := Parse("./cfg.ini")
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
fmt.Printf("%+v\n", data)
|
|
}
|
|
|
|
func TestReverse(t *testing.T) {
|
|
data, err := Parse("./cfg.ini")
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
fmt.Printf("%+v\n", data)
|
|
data.Run()
|
|
}
|