Fix typo in beautify-languages-spec causing failing tests to pass

This commit is contained in:
Glavin Wiechert 2015-06-10 13:11:20 -03:00
parent 198f0770dd
commit 658f5b23d9
12 changed files with 32 additions and 38 deletions

View File

@ -18,6 +18,7 @@
indent_char: " "
indent_size: 2
preserve_newlines: true
# newline_between_rules: true
js:
indent_size: 2
indent_char: " "

View File

@ -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 }
],

View File

@ -2,11 +2,13 @@
.ttl {
margin-bottom: 10px;
}
// https://github.com/Glavin001/atom-beautify/issues/180
.a {
color: #fff;
.b {
color: #999;
}
}
}

View File

@ -1,7 +1,7 @@
body {
background: red;
background: red;
}
h1 {
font-size: 16px;
font-size: 16px;
}

View File

@ -53,4 +53,4 @@ if (x === 3) {
console.log("yes");
}
}
}
}

View File

@ -1,5 +1,3 @@
<apex:page standardController="Contact">
<apex:detail />
</apex:page>
<apex:detail/>
</apex:page>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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)