This commit is contained in:
zhiqiang feng
2024-08-02 10:01:49 +08:00
parent 7222be4b59
commit d91e61ab5d
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ var _ = Describe("Schedule Parser", func() {
Describe("Date Parser", func() {
Context("parse : 31OCT", func() {
message := "31OCT"
data := parse(message, DateExpression)
data := extract(message, DateExpression)
It("should return a valid date", func() {
Expect(data).NotTo(BeNil())
Expect(data[Date]).To(Equal("31OCT"))