github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/project/commit_msg/commit_msg_test.go (about)

     1  package commit_msg
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func Test_CheckCommit(t *testing.T) {
     8  	t.Log(CheckCommit("FIX ZF-1 do what for ..."))
     9  	t.Log(CheckCommit("FIX ZF-1 xxxxx"))
    10  	t.Log(CheckCommit("BUG"))
    11  	t.Log(CheckCommit("TASK "))
    12  }