From 8fb583d7864c942c34ee3eed94bf426f4e08d3ee Mon Sep 17 00:00:00 2001 From: Aaron Meihm Date: Tue, 7 Jul 2015 05:51:55 -0500 Subject: [PATCH] additional consistency changes --- src/scribe/evr.go | 2 +- src/scribe/regexp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scribe/evr.go b/src/scribe/evr.go index 6585e8a..416c8f2 100644 --- a/src/scribe/evr.go +++ b/src/scribe/evr.go @@ -12,7 +12,7 @@ type EVRTest struct { } func (e *EVRTest) evaluate(c evaluationCriteria) (ret evaluationResult) { - debugPrint("evaluate(): evr %v \"%v\"\n", e.Operation, e.Value) + debugPrint("evaluate(): evr %v \"%v\", %v \"%v\"\n", c.Identifier, c.TestValue, e.Operation, e.Value) evrop := evrLookupOperation(e.Operation) if evrop == EVROP_UNKNOWN { return diff --git a/src/scribe/regexp.go b/src/scribe/regexp.go index d282b27..60e7c3e 100644 --- a/src/scribe/regexp.go +++ b/src/scribe/regexp.go @@ -15,7 +15,7 @@ type Regexp struct { } func (r *Regexp) evaluate(c evaluationCriteria) (ret evaluationResult) { - debugPrint("evaluate(): regexp \"%v\", %v \"%v\"\n", r.Value, c.Identifier, c.TestValue) + debugPrint("evaluate(): regexp %v \"%v\", \"%v\"\n", c.Identifier, c.TestValue, r.Value) re, err := regexp.Compile(r.Value) if err != nil { return