summaryrefslogtreecommitdiff
path: root/rules/rules_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rules_test.go')
-rw-r--r--rules/rules_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/rules_test.go b/rules/rules_test.go
index f29785f..41eb131 100644
--- a/rules/rules_test.go
+++ b/rules/rules_test.go
@@ -1,7 +1,7 @@
/*
* @Author: EnderByEndera
* @Date: 2020-12-04 15:03:09
- * @LastEditTime: 2021-01-04 16:43:21
+ * @LastEditTime: 2021-01-05 17:19:26
* @LastEditors: Please set LastEditors
* @Description: Test commrules.go
* @FilePath: /commdetection/rules/commrules_test.go
@@ -127,7 +127,7 @@ func TestRule(t *testing.T) {
}
func TestInitCommScores(t *testing.T) {
- comms := comm.GetCommands("/root/.bash_history", "")
+ comms := comm.GetCommands()
comms = comm.FlushCommands(comms, []comm.Filter{comm.WhichCommandFilter})
css := InitCommScores(comms)
fmt.Println(css)