mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-14 04:29:04 +03:00
💄
This commit is contained in:
parent
e72e1c9c56
commit
c923b561e2
@ -31,7 +31,7 @@ describe "underscore extensions", ->
|
||||
expect(_.endsWith("test.txt", ".tx")).toBeFalsy()
|
||||
expect(_.endsWith("test.txt", "test")).toBeFalsy()
|
||||
|
||||
describe "camelize(string)", ->
|
||||
describe "_.camelize(string)", ->
|
||||
it "converts `string` to camel case", ->
|
||||
expect(_.camelize("corey_dale_johnson")).toBe "coreyDaleJohnson"
|
||||
expect(_.camelize("corey-dale-johnson")).toBe "coreyDaleJohnson"
|
||||
@ -39,14 +39,14 @@ describe "underscore extensions", ->
|
||||
expect(_.camelize("coreyDaleJohnson")).toBe "coreyDaleJohnson"
|
||||
expect(_.camelize("CoreyDaleJohnson")).toBe "CoreyDaleJohnson"
|
||||
|
||||
describe "dasherize(string)", ->
|
||||
describe "_.dasherize(string)", ->
|
||||
it "converts `string` to use dashes", ->
|
||||
expect(_.dasherize("corey_dale_johnson")).toBe "corey-dale-johnson"
|
||||
expect(_.dasherize("coreyDaleJohnson")).toBe "corey-dale-johnson"
|
||||
expect(_.dasherize("CoreyDaleJohnson")).toBe "corey-dale-johnson"
|
||||
expect(_.dasherize("corey-dale-johnson")).toBe "corey-dale-johnson"
|
||||
|
||||
describe "underscore(string)", ->
|
||||
describe "_.underscore(string)", ->
|
||||
it "converts `string` to use underscores", ->
|
||||
expect(_.underscore("corey-dale-johnson")).toBe "corey_dale_johnson"
|
||||
expect(_.underscore("coreyDaleJohnson")).toBe "corey_dale_johnson"
|
||||
|
Loading…
Reference in New Issue
Block a user