mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
9 lines
476 B
CoffeeScript
9 lines
476 B
CoffeeScript
TextMateBundle = require 'text-mate-bundle'
|
|
|
|
describe "TextMateBundle", ->
|
|
describe ".getPreferenceInScope(scope, preferenceName)", ->
|
|
it "returns the preference by the given name in the given scope or undefined if there isn't one", ->
|
|
expect(TextMateBundle.getPreferenceInScope('source.coffee', 'decreaseIndentPattern')).toBe '^\\s*(\\}|\\]|else|catch|finally)$'
|
|
expect(TextMateBundle.getPreferenceInScope('source.coffee', 'shellVariables')).toBeDefined()
|
|
|