mirror of
https://github.com/actions/cache.git
synced 2025-04-20 19:16:46 +00:00
Fix file size on ubuntu and test name
This commit is contained in:
parent
8041787e97
commit
430e461169
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
import * as core from "@actions/core";
|
||||
import * as fs from "fs";
|
||||
import * as os from "os";
|
||||
import * as path from "path";
|
||||
|
||||
|
@ -18,7 +19,7 @@ test("getArchiveFileSize returns file size", () => {
|
|||
|
||||
const size = actionUtils.getArchiveFileSize(filePath);
|
||||
|
||||
expect(size).toBe(13);
|
||||
expect(size).toBe(11);
|
||||
});
|
||||
|
||||
test("isExactKeyMatch with undefined cache entry returns false", () => {
|
||||
|
@ -28,7 +29,7 @@ test("isExactKeyMatch with undefined cache entry returns false", () => {
|
|||
expect(actionUtils.isExactKeyMatch(key, cacheEntry)).toBe(false);
|
||||
});
|
||||
|
||||
test("isExactKeyMatch with undefined cache entry key returns false", () => {
|
||||
test("isExactKeyMatch with empty cache entry returns false", () => {
|
||||
const key = "linux-rust";
|
||||
const cacheEntry: ArtifactCacheEntry = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue