text: <<<<<<< HEAD
  'use strict'
  
  const test = require('ava')
  const utils = require('../lib/utils')
  
  test('extracting hashtags from text', t => {
    let tags = utils.extractTags('a #picture with tags #AwEsOme #Platzi #AVA #100 ##yes')
  
    t.deepEqual(tags, [
      'picture',
      'awesome',
      'platzi',
      'ava',
      '100',
      'yes'
    ])
  
    tags = utils.extractTags('a picture with no tags')
    t.deepEqual(tags, [])
  
    tags = utils.extractTags()
    t.deepEqual(tags, [])
  
    tags = utils.extractTags(null)
    t.deepEqual(tags, [])
  })
  
  test('encrypt password', t => {
    let password = 'foo123'
    let encrypted = '02b353bf5358995bc7d193ed1ce9c2eaec2b694b21d2f96232c9d6a0832121d1'
  
    let result = utils.encrypt(password)
    t.is(result, encrypted)
  })
  =======
  =======
  >>>>>>> 88f246d9c9eebd7a8706c3a34390c8944b0f4ee3
  'use strict'
  
  const test = require('ava')
  const utils = require('../lib/utils')
  
  test('extracting hashtags from text', t => {
    let tags = utils.extractTags('a #picture with tags #AwEsOme #Platzi #AVA #100 ##yes')
  
    t.deepEqual(tags, [
      'picture',
      'awesome',
      'platzi',
      'ava',
      '100',
      'yes'
    ])
  
    tags = utils.extractTags('a picture with no tags')
    t.deepEqual(tags, [])
  
    tags = utils.extractTags()
    t.deepEqual(tags, [])
  
    tags = utils.extractTags(null)
    t.deepEqual(tags, [])
  })
  
  test('encrypt password', t => {
    let password = 'foo123'
    let encrypted = '02b353bf5358995bc7d193ed1ce9c2eaec2b694b21d2f96232c9d6a0832121d1'
  
    let result = utils.encrypt(password)
    t.is(result, encrypted)
  })
  