Fix typo in beautify-languages-spec causing failing tests to pass
This commit is contained in:
parent
198f0770dd
commit
658f5b23d9
|
@ -18,6 +18,7 @@
|
|||
indent_char: " "
|
||||
indent_size: 2
|
||||
preserve_newlines: true
|
||||
# newline_between_rules: true
|
||||
js:
|
||||
indent_size: 2
|
||||
indent_char: " "
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
conn_hash = { hosts: [
|
||||
|
||||
{ login: login, passcode: passcode, host: host, port: port }
|
||||
{ login: login, passcode: passcode, host: host, port: port }
|
||||
],
|
||||
reliable: false, # Override default
|
||||
connect_headers: conn_hdrs
|
||||
|
@ -11,9 +11,9 @@ conn_hash = { hosts: [
|
|||
|
||||
hash = { hosts: [
|
||||
|
||||
{ login: user, passcode: password, host: 'noonehome', port: 2525 },
|
||||
{ login: user, passcode: password, host: 'noonehome', port: 2525 },
|
||||
|
||||
{ login: user, passcode: password, host: host, port: port }
|
||||
{ login: user, passcode: password, host: host, port: port }
|
||||
|
||||
],
|
||||
|
|
@ -2,11 +2,13 @@
|
|||
.ttl {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
// https://github.com/Glavin001/atom-beautify/issues/180
|
||||
.a {
|
||||
color: #fff;
|
||||
|
||||
|
||||
.b {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
body {
|
||||
background: red;
|
||||
background: red;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 16px;
|
||||
font-size: 16px;
|
||||
}
|
|
@ -53,4 +53,4 @@ if (x === 3) {
|
|||
console.log("yes");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,3 @@
|
|||
<apex:page standardController="Contact">
|
||||
|
||||
<apex:detail />
|
||||
|
||||
</apex:page>
|
||||
<apex:detail/>
|
||||
</apex:page>
|
|
@ -1,5 +1,3 @@
|
|||
<apex:page standardController="Contact">
|
||||
|
||||
<apex:sectionHeader title="{!contact.firstname}" subtitle="{!contact.account.name}"/>
|
||||
|
||||
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
|
||||
</apex:page>
|
|
@ -1,17 +1,14 @@
|
|||
<apex:page standardController="Contact">
|
||||
|
||||
<apex:sectionHeader title="{!contact.firstname}" subtitle="{!contact.account.name}"/>
|
||||
|
||||
<apex:form >
|
||||
<apex:pageBlock title="Contact">
|
||||
<apex:pageBlockSection title="Editing">
|
||||
<apex:inputfield value="{!contact.firstname}"/>
|
||||
<apex:inputfield value="{!contact.lastname}"/>
|
||||
<apex:inputfield value="{!contact.salutation}"/>
|
||||
<apex:inputfield value="{!contact.birthdate}"/>
|
||||
<apex:commandButton value="Save" action="{!save}"/>
|
||||
</apex:pageBlockSection>
|
||||
</apex:pageBlock>
|
||||
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
|
||||
<apex:form>
|
||||
<apex:pageBlock title="Contact">
|
||||
<apex:pageBlockSection title="Editing">
|
||||
<apex:inputfield value="{!contact.firstname}"/>
|
||||
<apex:inputfield value="{!contact.lastname}"/>
|
||||
<apex:inputfield value="{!contact.salutation}"/>
|
||||
<apex:inputfield value="{!contact.birthdate}"/>
|
||||
<apex:commandButton action="{!save}" value="Save"/>
|
||||
</apex:pageBlockSection>
|
||||
</apex:pageBlock>
|
||||
</apex:form>
|
||||
|
||||
</apex:page>
|
|
@ -1,14 +1,11 @@
|
|||
<apex:page standardController="Contact">
|
||||
|
||||
<apex:sectionHeader title="{!contact.firstname}" subtitle="{!contact.account.name}"/>
|
||||
|
||||
<apex:sectionHeader subtitle="{!contact.account.name}" title="{!contact.firstname}"/>
|
||||
<apex:pageBlock title="Contact">
|
||||
<apex:pageBlockSection title="Details">
|
||||
<apex:outputfield value="{!contact.firstname}"/>
|
||||
<apex:outputfield value="{!contact.lastname}"/>
|
||||
<apex:outputfield value="{!contact.salutation}"/>
|
||||
<apex:outputfield value="{!contact.birthdate}"/>
|
||||
<apex:outputfield value="{!contact.firstname}"/>
|
||||
<apex:outputfield value="{!contact.lastname}"/>
|
||||
<apex:outputfield value="{!contact.salutation}"/>
|
||||
<apex:outputfield value="{!contact.birthdate}"/>
|
||||
</apex:pageBlockSection>
|
||||
</apex:pageBlock>
|
||||
|
||||
</apex:page>
|
|
@ -152,6 +152,7 @@ describe "BeautifyLanguages", ->
|
|||
|
||||
beautifyCompleted = false
|
||||
completionFun = (text) ->
|
||||
console.log(text, expectedContents)
|
||||
# logger.verbose(expectedTestPath, text) if ext is ".less"
|
||||
expect(text instanceof Error).not.toEqual(true, text)
|
||||
return beautifyCompleted = true if text instanceof Error
|
||||
|
@ -162,7 +163,7 @@ describe "BeautifyLanguages", ->
|
|||
return beautifyCompleted = true if text is null
|
||||
|
||||
expect(typeof text).toEqual("string", "Text: #{text}")
|
||||
return beautifyCompleted = true if typeof text is "string"
|
||||
return beautifyCompleted = true if typeof text isnt "string"
|
||||
# Check for beautification errors
|
||||
if text isnt expectedContents
|
||||
# console.warn(allOptions, text, expectedContents)
|
||||
|
|
Loading…
Reference in New Issue