Skip to content

Commit da3a622

Browse files
author
Hyunje Jun
committed
Rename LINE_Icon.png → line-icon.png
1 parent 51a2d4b commit da3a622

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ describe("client", () => {
224224
});
225225

226226
it("setRichMenuImage", () => {
227-
const filepath = join(__dirname, "/helpers/LINE_Icon.png");
227+
const filepath = join(__dirname, "/helpers/line-icon.png");
228228
const buffer = readFileSync(filepath);
229229
return client
230230
.setRichMenuImage("test_rich_menu_id", buffer)
File renamed without changes.

test/http.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe("http", () => {
9595
"test-header-key": "Test-Header-Value",
9696
};
9797

98-
const filepath = join(__dirname, "/helpers/LINE_Icon.png");
98+
const filepath = join(__dirname, "/helpers/line-icon.png");
9999
const buffer = readFileSync(filepath);
100100
return postBinary(
101101
`${TEST_URL}/post`,

test/util.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ describe("util", () => {
1616

1717
describe("detectContentType", () => {
1818
it("returns correct result for stream", () => {
19-
const filepath = join(__dirname, "/helpers/LINE_Icon.png");
19+
const filepath = join(__dirname, "/helpers/line-icon.png");
2020
const readable = fs.createReadStream(filepath);
2121
return detectContentType(readable).then((type: string) => {
2222
equal(type, "image/png");
2323
});
2424
});
2525

2626
it("returns correct result for buffer", () => {
27-
const filepath = join(__dirname, "/helpers/LINE_Icon.png");
27+
const filepath = join(__dirname, "/helpers/line-icon.png");
2828
const buffer = fs.readFileSync(filepath);
2929
return detectContentType(buffer).then((type: string) => {
3030
equal(type, "image/png");

0 commit comments

Comments
 (0)