Eugene Nikolsky edd9a9717c Fix the 'export PATH' message in link for a keg-only formula
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message,
but it printed the wrong path, e.g. for `brew link sqlite`:

```
If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/sqlite:$PATH"' >> ~/.zshrc/bin
```

where `/bin` is appended at the end, but should be inserted before
`:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc`.
This patch fixes that and updates a test to verify it.
2017-04-01 20:12:00 -07:00
..
2017-03-02 14:35:06 +01:00
2017-03-31 20:24:23 +01:00
2017-02-28 15:06:32 +01:00
2017-02-28 15:06:32 +01:00
2017-02-28 15:06:32 +01:00
2017-03-15 22:58:25 +02:00
2017-02-25 13:54:28 +01:00
2017-02-25 20:11:03 +01:00
2017-02-27 11:28:12 +01:00
2017-02-28 15:06:32 +01:00
2017-02-28 22:48:57 +01:00
2017-02-28 22:48:57 +01:00
2017-02-28 15:06:32 +01:00
2017-02-25 19:34:46 +01:00
2017-02-28 15:06:32 +01:00
2017-02-28 15:06:32 +01:00
2017-03-05 18:58:30 +01:00
2017-03-11 21:16:37 +01:00
2017-02-27 16:27:07 +01:00