summaryrefslogtreecommitdiff
path: root/test_util/src
diff options
context:
space:
mode:
authorYiyu Lin <linyiyu1992@gmail.com>2023-01-13 15:51:32 +0800
committerGitHub <noreply@github.com>2023-01-13 16:51:32 +0900
commita00e432297d2ae119c8e1097aec74badc886f912 (patch)
tree7380b37245e889e97a8c7b1535a1e31fddb74738 /test_util/src
parent5707a958ac2b44d573d50260b1d0d40887662011 (diff)
chore: add `copyright_checker` tool and add the missing copyright (#17285)
Diffstat (limited to 'test_util/src')
-rw-r--r--test_util/src/assertions.rs2
-rw-r--r--test_util/src/npm.rs2
-rw-r--r--test_util/src/pty.rs2
-rw-r--r--test_util/src/temp_dir.rs2
4 files changed, 8 insertions, 0 deletions
diff --git a/test_util/src/assertions.rs b/test_util/src/assertions.rs
index ecee14b1f..a004530b6 100644
--- a/test_util/src/assertions.rs
+++ b/test_util/src/assertions.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
#[macro_export]
macro_rules! assert_ends_with {
($left:expr, $right:expr $(,)?) => {
diff --git a/test_util/src/npm.rs b/test_util/src/npm.rs
index 6e393d835..738a1090a 100644
--- a/test_util/src/npm.rs
+++ b/test_util/src/npm.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
use std::collections::HashMap;
use std::fs;
diff --git a/test_util/src/pty.rs b/test_util/src/pty.rs
index 4970e08f4..b2d7201ae 100644
--- a/test_util/src/pty.rs
+++ b/test_util/src/pty.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
use std::collections::HashMap;
use std::io::Read;
use std::path::Path;
diff --git a/test_util/src/temp_dir.rs b/test_util/src/temp_dir.rs
index cab55cc14..01dce8f1a 100644
--- a/test_util/src/temp_dir.rs
+++ b/test_util/src/temp_dir.rs
@@ -1,3 +1,5 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
use std::fs;
use std::path::Path;
use std::path::PathBuf;