Skip to content

Commit

Permalink
eslint cleanup: fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
froatsnook committed Mar 19, 2015
1 parent 0d64e4a commit bb5b851
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions tests/browser/start.js
Expand Up @@ -7,16 +7,16 @@ var path = require('path')
var port = 6767

var server = https.createServer({
key: fs.readFileSync(path.join(__dirname, '/ssl/server.key')),
cert: fs.readFileSync(path.join(__dirname, '/ssl/server.crt')),
ca: fs.readFileSync(path.join(__dirname, '/ssl/ca.crt')),
requestCert: true,
rejectUnauthorized: false
}, function (req, res) {
// Set CORS header, since that is something we are testing.
res.setHeader('Access-Control-Allow-Origin', '*')
res.writeHead(200)
res.end('Can you hear the sound of an enormous door slamming in the depths of hell?\n')
key: fs.readFileSync(path.join(__dirname, '/ssl/server.key')),
cert: fs.readFileSync(path.join(__dirname, '/ssl/server.crt')),
ca: fs.readFileSync(path.join(__dirname, '/ssl/ca.crt')),
requestCert: true,
rejectUnauthorized: false
}, function (req, res) {
// Set CORS header, since that is something we are testing.
res.setHeader('Access-Control-Allow-Origin', '*')
res.writeHead(200)
res.end('Can you hear the sound of an enormous door slamming in the depths of hell?\n')
})
server.listen(port, function() {
console.log('Started https server for karma tests on port ' + port)
Expand Down
2 changes: 1 addition & 1 deletion tests/test-body.js
Expand Up @@ -144,6 +144,6 @@ addTest('testPutMultipartPostambleCRLF', {

tape('cleanup', function(t) {
s.close(function() {
t.end()
t.end()
})
})
2 changes: 1 addition & 1 deletion tests/test-pipes.js
Expand Up @@ -237,7 +237,7 @@ tape('piping after response', function(t) {

tape('piping through a redirect', function(t) {
s.once('/forward1', function(req, res) {
res.writeHead(302, { location: '/forward2' })
res.writeHead(302, { location: '/forward2' })
res.end()
})
s.once('/forward2', function(req, res) {
Expand Down

0 comments on commit bb5b851

Please sign in to comment.