Skip to content

Commit

Permalink
fixup! chore: update coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlambrt committed Sep 18, 2023
1 parent af7167e commit b7bb109
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions coverage/coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,15 @@
"unicode"
)

// Delimiter used to quote strings
type Delimiter rune

const (
doubleQuote = '"'
singleQuote = '\''
backtick = '`'
backslash = '\\'
DoubleQuote Delimiter = '"'
SingleQuote Delimiter = '\''
Backtick Delimiter = '`'

backslash = '\\'
)

type lexStateFunc func(*lexer) (lexStateFunc, error)
Expand Down Expand Up @@ -672,8 +676,8 @@
}</span>

func isDelimiter(r rune) bool <span class="cov8" title="1">{
switch r </span>{
case doubleQuote, singleQuote, backtick:<span class="cov8" title="1">
switch Delimiter(r) </span>{
case DoubleQuote, SingleQuote, Backtick:<span class="cov8" title="1">
return true</span>
default:<span class="cov8" title="1">
return false</span>
Expand Down

0 comments on commit b7bb109

Please sign in to comment.