Skip to content

Commit

Permalink
Reproducer for github-tools#463
Browse files Browse the repository at this point in the history
  • Loading branch information
dudaerich committed Apr 8, 2019
1 parent 22b889c commit 6ac6764
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/repository.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,16 @@ describe('Repository', function() {
remoteRepo.createBlob(imageBlob, assertSuccessful(done));
});

it('should read the same unicode string blob as it was written', function(done) {
let content = 'The temperature is 25°C'
remoteRepo.createBlob(content, assertSuccessful(done, function(_, resp) {
remoteRepo.getBlob(resp.sha, assertSuccessful(done, function(_, returnedContent) {
expect(returnedContent).to.be(content);
done();
}));
}));
});

it('should star the repo', function(done) {
remoteRepo.star(assertSuccessful(done, function() {
remoteRepo.isStarred(assertSuccessful(done));
Expand Down

0 comments on commit 6ac6764

Please sign in to comment.